Skip to content

Commit

Permalink
New validation in legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Nov 12, 2019
1 parent de00397 commit 1062f1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/quorum/legacy.py
Expand Up @@ -108,6 +108,11 @@ def ctx_absolute():
interpreter support the async/await syntax responsible
for the easy to use async methods """

PYTHON_ASYNC_GEN = sys.version_info[0] >= 3 and sys.version_info[1] >= 6
""" Global variable that defines if the current Python
interpreter support the async/await generator syntax
responsible for the async generator methods """

PYTHON_V = int("".join([str(v) for v in sys.version_info[:3]]))
""" The Python version integer describing the version of
a the interpreter as a set of three integer digits """
Expand Down

0 comments on commit 1062f1a

Please sign in to comment.