Add optional argument to help().

This commit is contained in:
Guido van Rossum 1998-04-03 17:03:13 +00:00
parent 1d5102cac1
commit 18586f4c48
1 changed files with 2 additions and 2 deletions

View File

@ -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