summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2003-03-12 02:54:17 (GMT)
committerBarry Warsaw <barry@python.org>2003-03-12 02:54:17 (GMT)
commitca53c12c8b7714108bb130651f3cf1a9c6ec6036 (patch)
treed4a756c0480878d2f4728852d07c01539b20b024
parent82f1d2ce1760bd8fd382bd6adc082ee75c295b04 (diff)
downloadcpython-ca53c12c8b7714108bb130651f3cf1a9c6ec6036.zip
cpython-ca53c12c8b7714108bb130651f3cf1a9c6ec6036.tar.gz
cpython-ca53c12c8b7714108bb130651f3cf1a9c6ec6036.tar.bz2
Python 2.1 doesn't have True and False
-rw-r--r--Lib/email/_compat21.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/email/_compat21.py b/Lib/email/_compat21.py
index 7cead23..0e0b3d0 100644
--- a/Lib/email/_compat21.py
+++ b/Lib/email/_compat21.py
@@ -7,6 +7,9 @@
from cStringIO import StringIO
from types import StringType, UnicodeType
+False = 0
+True = 1
+
# This function will become a method of the Message class