[Python-checkins] cpython (3.2): Remove obsolete comment.
r.david.murray
python-checkins at python.org
Tue Mar 15 17:49:43 CET 2011
http://hg.python.org/cpython/rev/983ed0ba44d0
changeset: 68501:983ed0ba44d0
branch: 3.2
parent: 68499:013a1cd673fc
user: R David Murray <rdmurray at bitdance.com>
date: Tue Mar 15 12:48:41 2011 -0400
summary:
Remove obsolete comment.
files:
Lib/email/message.py
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