From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:33:04 +0000 (+0100) Subject: [3.12] Give `poplib.POP3.rpop` a proper docstring (GH-127370) (#127722) X-Git-Tag: v3.12.9~177 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=87f912ac188827ccfc75b6489c192cf94d768903;p=thirdparty%2FPython%2Fcpython.git [3.12] Give `poplib.POP3.rpop` a proper docstring (GH-127370) (#127722) Give `poplib.POP3.rpop` a proper docstring (GH-127370) Previously `poplib.POP3.rpop` had a "Not sure what this does" docstring, now it has been fixed. (cherry picked from commit 27d0d2141319d82709eb09ba20065df3e1714fab) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> --- diff --git a/Lib/poplib.py b/Lib/poplib.py index 9a5ef03c9831..81b01385987c 100644 --- a/Lib/poplib.py +++ b/Lib/poplib.py @@ -309,7 +309,7 @@ class POP3: # optional commands: def rpop(self, user): - """Not sure what this does.""" + """Send RPOP command to access the mailbox with an alternate user.""" return self._shortcmd('RPOP %s' % user)