From 18586f4c48d8088ab7f2e016d02097b1e081701e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 3 Apr 1998 17:03:13 +0000 Subject: Add optional argument to help(). --- Lib/smtplib.py | 4 ++-- 1 file 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 -- cgit v0.12