[Python-checkins] cpython (merge 3.2 -> default): Merge obsolete comment removal from 3.2.

r.david.murray python-checkins at python.org
Tue Mar 15 17:49:44 CET 2011


http://hg.python.org/cpython/rev/94c504545c3e
changeset:   68502:94c504545c3e
parent:      68500:a6390ebff835
parent:      68501:983ed0ba44d0
user:        R David Murray <rdmurray at bitdance.com>
date:        Tue Mar 15 12:49:33 2011 -0400
summary:
  Merge obsolete comment removal from 3.2.

files:
  

diff --git a/Lib/email/message.py b/Lib/email/message.py
--- a/Lib/email/message.py
+++ b/Lib/email/message.py
@@ -242,7 +242,7 @@
             raise TypeError('Expected list, got %s' % type(self._payload))
         payload = self._payload
         cte = self.get('content-transfer-encoding', '').lower()
-        # payload can be bytes here, (I wonder if that is actually a bug?)
+        # payload may be bytes here.
         if isinstance(payload, str):
             if _has_surrogates(payload):
                 bpayload = payload.encode('ascii', 'surrogateescape')

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


More information about the Python-checkins mailing list