import sys
-def is_above_python_3_2(): # type: () -> bool
+def is_above_python_3_2():
+ # type: () -> bool
"""Check if code is running at least on Python 3.2 version.
Returns:
bool: True if it's at least 3.2 version, False otherwise
-
"""
return sys.version_info >= (3, 2, 0, "final", 0)
-def is_above_python_2_7(): # type: () -> bool
+def is_above_python_2_7():
+ # type: () -> bool
"""Check if code is running at least on Python 2.7 version.
Returns:
bool: True if it's at least 2.7 version, False otherwise
-
"""
return sys.version_info >= (2, 7, 0, "final", 0)