Skip to content

Commit

Permalink
Add PY37_PLUS, PY38_PLUS, and PY39_PLUS
Browse files Browse the repository at this point in the history
This extend the set of existing PY3?_PLUS constants to include recent
Python 3.x releases.
  • Loading branch information
jparise committed Oct 8, 2020
1 parent 28b3361 commit bee0247
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/future/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
PY34_PLUS = sys.version_info[0:2] >= (3, 4)
PY35_PLUS = sys.version_info[0:2] >= (3, 5)
PY36_PLUS = sys.version_info[0:2] >= (3, 6)
PY37_PLUS = sys.version_info[0:2] >= (3, 7)
PY38_PLUS = sys.version_info[0:2] >= (3, 8)
PY39_PLUS = sys.version_info[0:2] >= (3, 9)
PY2 = sys.version_info[0] == 2
PY26 = sys.version_info[0:2] == (2, 6)
PY27 = sys.version_info[0:2] == (2, 7)
Expand Down

0 comments on commit bee0247

Please sign in to comment.