Skip to content

Commit

Permalink
fix: supports missing operations
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone committed Nov 15, 2023
1 parent bbd2953 commit 6fdde00
Show file tree
Hide file tree
Showing 2 changed files with 660 additions and 286 deletions.
7 changes: 7 additions & 0 deletions olo/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@
from decimal import Decimal # noqa

import sys
import sys, platform

PYPY = platform.python_implementation() == 'PyPy'
PY2 = sys.version_info[0] == 2
PY36 = sys.version_info[:2] >= (3, 6)
PY37 = sys.version_info[:2] >= (3, 7)
PY38 = sys.version_info[:2] >= (3, 8)
PY39 = sys.version_info[:2] >= (3, 9)
PY310 = sys.version_info[:2] >= (3, 10)
PY311 = sys.version_info[:2] >= (3, 11)


if PY2:
from future_builtins import zip as izip, map as imap
Expand Down
Loading

0 comments on commit 6fdde00

Please sign in to comment.