import sys
-# Py2K
-import __builtin__
-# end Py2K
try:
import threading
return x
# Py2K
-buffer = getattr(__builtin__, 'buffer', buffer)
+buffer = buffer
# end Py2K
try:
from functools import reduce
else:
- callable = __builtin__.callable
- cmp = __builtin__.cmp
- reduce = __builtin__.reduce
+ callable = callable
+ cmp = cmp
+ reduce = reduce
try:
from collections import defaultdict
time_func = time.time
if sys.version_info >= (2, 5):
- any = __builtin__.any
+ any = any
else:
def any(iterator):
for item in iterator: