summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-09-27 22:48:30 +0200
committerClaude Paroz <claude@2xlibre.net>2014-09-27 22:48:30 +0200
commite1fbb68e4e0aaa18391beb4718864c739929f232 (patch)
treeb8caa977df1d04de2fc057226b75281a2184e1a8
parenta54adcecff891374341adaad6a8187d416595b70 (diff)
Updated comment about Python issue
-rw-r--r--django/core/mail/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/mail/message.py b/django/core/mail/message.py
index 929611edf6..dcce9dcfe1 100644
--- a/django/core/mail/message.py
+++ b/django/core/mail/message.py
@@ -166,7 +166,7 @@ class SafeMIMEText(MIMEMixin, MIMEText):
def __init__(self, text, subtype, charset):
self.encoding = charset
if charset == 'utf-8':
- # Unfortunately, Python doesn't support setting a Charset instance
+ # Unfortunately, Python < 3.5 doesn't support setting a Charset instance
# as MIMEText init parameter (http://bugs.python.org/issue16324).
# We do it manually and trigger re-encoding of the payload.
MIMEText.__init__(self, text, subtype, None)