mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +00:00
POP3.uidl(): Update docstring based on comments from Piers Lauder
<piers@cs.su.oz.au>.
This commit is contained in:
parent
dab44682c2
commit
361c048b8f
1 changed files with 3 additions and 2 deletions
|
|
@ -293,8 +293,9 @@ class POP3:
|
||||||
def uidl(self, which=None):
|
def uidl(self, which=None):
|
||||||
"""Return message digest (unique id) list.
|
"""Return message digest (unique id) list.
|
||||||
|
|
||||||
If 'which', result contains unique id for that message,
|
If 'which', result contains unique id for that message
|
||||||
otherwise result is list ['response', ['mesgnum uid', ...], octets]
|
in the form 'response mesgnum uid', otherwise result is
|
||||||
|
the list ['response', ['mesgnum uid', ...], octets]
|
||||||
"""
|
"""
|
||||||
if which:
|
if which:
|
||||||
return self._shortcmd('UIDL %s' % which)
|
return self._shortcmd('UIDL %s' % which)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue