latest version

This commit is contained in:
2025-01-16 00:40:16 +01:00
parent 84a6d7ec93
commit bde83602d6
1241 changed files with 445 additions and 515 deletions
Regular → Executable
+14
View File
@@ -46,6 +46,16 @@ def ceil(x):
from itertools import islice
if PY26:
# itertools.count in Py 2.6 doesn't accept a step parameter
def count(start=0, step=1):
while True:
yield start
start += step
else:
from itertools import count
if PY3:
try:
from _thread import get_ident
@@ -85,6 +95,10 @@ def recursive_repr(fillvalue='...'):
return decorating_function
# OrderedDict Shim from Raymond Hettinger, python core dev
# http://code.activestate.com/recipes/576693-ordered-dictionary-for-py24/
# here to support version 2.6.
################################################################################
### OrderedDict
################################################################################