summaryrefslogtreecommitdiffstats
path: root/Lib/smtplib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-03 17:03:13 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-03 17:03:13 (GMT)
commit18586f4c48d8088ab7f2e016d02097b1e081701e (patch)
tree9a23a6b582b53b94441c2331aa7dc280a95ab65a /Lib/smtplib.py
parent1d5102cac1d06a604230b5efdf651e2297763ca2 (diff)
downloadcpython-18586f4c48d8088ab7f2e016d02097b1e081701e.zip
cpython-18586f4c48d8088ab7f2e016d02097b1e081701e.tar.gz
cpython-18586f4c48d8088ab7f2e016d02097b1e081701e.tar.bz2
Add optional argument to help().
Diffstat (limited to 'Lib/smtplib.py')
-rwxr-xr-xLib/smtplib.py4
1 files changed, 2 insertions, 2 deletions
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 @@ 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