mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Python 2.1 doesn't have True and False
This commit is contained in:
parent
82f1d2ce17
commit
ca53c12c8b
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
from types import StringType, UnicodeType
|
from types import StringType, UnicodeType
|
||||||
|
|
||||||
|
False = 0
|
||||||
|
True = 1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# This function will become a method of the Message class
|
# This function will become a method of the Message class
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue