summaryrefslogtreecommitdiffstats
path: root/Lib/sets.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sets.py')
-rw-r--r--Lib/sets.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/sets.py b/Lib/sets.py
index 6fea65f..6e09005 100644
--- a/Lib/sets.py
+++ b/Lib/sets.py
@@ -73,6 +73,10 @@ except ImportError:
for x in iterable:
if not predicate(x):
yield x
+ try:
+ True, False
+ except NameError:
+ True, False = (0==0, 0!=0)
__all__ = ['BaseSet', 'Set', 'ImmutableSet']