mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Removed pre-2.3 workaround for booleans
This commit is contained in:
@@ -56,12 +56,6 @@ try:
|
|||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# Pre-2.3 workaround for booleans
|
|
||||||
try:
|
|
||||||
True, False
|
|
||||||
except NameError:
|
|
||||||
True, False = 1, 0
|
|
||||||
|
|
||||||
# Pre-2.3 workaround for basestring.
|
# Pre-2.3 workaround for basestring.
|
||||||
try:
|
try:
|
||||||
basestring
|
basestring
|
||||||
|
|||||||
Reference in New Issue
Block a user