fix doctest in Py3
authorStefan Behnel <stefan_ml@behnel.de>
Wed, 25 Dec 2013 13:28:44 +0000 (14:28 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Wed, 25 Dec 2013 13:28:44 +0000 (14:28 +0100)
tests/run/constant_folding.py

index badc460..b19b491 100644 (file)
@@ -452,7 +452,7 @@ def const_in_binop(v):
     >>> const_in_binop(1 << 32 - 1)
     0
     """
-    if v < 0 or v >= (1L << 32):
+    if v < 0 or v >= (1 << 32):
         return 1
     else:
         return 0