summaryrefslogtreecommitdiffstats
path: root/Lib/smtplib.py
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2005-06-26 18:27:36 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2005-06-26 18:27:36 (GMT)
commit58bd19095a47c162f8fb889f2369bfc8562b1992 (patch)
tree74d8649e8ae360db7e0398943e56bbc5529ef83d /Lib/smtplib.py
parent40c7165e7d61e85e777e73981416d94c9c14d8c3 (diff)
downloadcpython-58bd19095a47c162f8fb889f2369bfc8562b1992.zip
cpython-58bd19095a47c162f8fb889f2369bfc8562b1992.tar.gz
cpython-58bd19095a47c162f8fb889f2369bfc8562b1992.tar.bz2
SMTP.help() was returning a tuple instead of the promised text.
Diffstat (limited to 'Lib/smtplib.py')
-rwxr-xr-xLib/smtplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index 5b406af..57605a9 100755
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -439,7 +439,7 @@ class SMTP:
"""SMTP 'help' command.
Returns help text from server."""
self.putcmd("help", args)
- return self.getreply()
+ return self.getreply()[1]
def rset(self):
"""SMTP 'rset' command -- resets session."""