commit | 18586f4c48d8088ab7f2e016d02097b1e081701e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 03 17:03:13 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 03 17:03:13 1998 +0000 |
tree | 9a23a6b582b53b94441c2331aa7dc280a95ab65a | |
parent | 1d5102cac1d06a604230b5efdf651e2297763ca2 [diff] [blame] |
Add optional argument to help().
diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 24e46ad..6a12621 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py
@@ -150,9 +150,9 @@ 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