[Python-checkins] cpython (3.4): fix extended command syntax (closes #23872)

benjamin.peterson python-checkins at python.org
Sun Apr 5 16:03:28 CEST 2015


https://hg.python.org/cpython/rev/cc2c7aa2d7a6
changeset:   95446:cc2c7aa2d7a6
branch:      3.4
parent:      95438:117f45749359
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Apr 05 10:01:48 2015 -0400
summary:
  fix extended command syntax (closes #23872)

files:
  Lib/smtpd.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/smtpd.py b/Lib/smtpd.py
--- a/Lib/smtpd.py
+++ b/Lib/smtpd.py
@@ -413,7 +413,7 @@
 
     def smtp_HELP(self, arg):
         if arg:
-            extended = ' [SP <mail parameters]'
+            extended = ' [SP <mail-parameters>]'
             lc_arg = arg.upper()
             if lc_arg == 'EHLO':
                 self.push('250 Syntax: EHLO hostname')

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list