]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Give `poplib.POP3.rpop` a proper docstring (GH-127370) (#127722)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 7 Dec 2024 16:33:04 +0000 (17:33 +0100)
committerGitHub <noreply@github.com>
Sat, 7 Dec 2024 16:33:04 +0000 (16:33 +0000)
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>
Lib/poplib.py

index 9a5ef03c9831032be359cf9baea0a850e5b434ac..81b01385987c3bdd1f1ea7c64c1dcf0beb50f2cd 100644 (file)
@@ -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)