Commit 18586f4c authored by Guido van Rossum's avatar Guido van Rossum

Add optional argument to help().

parent 1d5102ca
......@@ -150,9 +150,9 @@ class SMTP:
self.helo_resp=msg
return code
def help(self):
def help(self, args=''):
""" SMTP 'help' command. Returns help text from server """
self.putcmd("help")
self.putcmd("help", args)
(code,msg)=self.getreply()
return msg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment