summaryrefslogtreecommitdiffstats
path: root/Lib/email
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-03-15 16:48:41 (GMT)
committerR David Murray <rdmurray@bitdance.com>2011-03-15 16:48:41 (GMT)
commit106f8e3ea48e247d6f4354890994f0b16fdcc8c4 (patch)
treeb0ead46d09d4c20deb40fb59aac8503109edad65 /Lib/email
parent56a9d7e3daff45f5fef206ea42398b4a0505fb47 (diff)
downloadcpython-106f8e3ea48e247d6f4354890994f0b16fdcc8c4.zip
cpython-106f8e3ea48e247d6f4354890994f0b16fdcc8c4.tar.gz
cpython-106f8e3ea48e247d6f4354890994f0b16fdcc8c4.tar.bz2
Remove obsolete comment.
Diffstat (limited to 'Lib/email')
-rw-r--r--Lib/email/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/message.py b/Lib/email/message.py
index b821bfd..28835d0 100644
--- a/Lib/email/message.py
+++ b/Lib/email/message.py
@@ -242,7 +242,7 @@ class Message:
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')