mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
SMTP.help() was returning a tuple instead of the promised text.
This commit is contained in:
parent
40c7165e7d
commit
58bd19095a
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue