fix F_STRINGS_AVAILABLE check
parent
64aa21684c
commit
35aca0f609
|
@ -19,7 +19,7 @@ from .parser import parse_path
|
||||||
|
|
||||||
|
|
||||||
# f-strings are available in Python 3.6+
|
# f-strings are available in Python 3.6+
|
||||||
F_STRINGS_AVAILABLE = version_info < (3, 6)
|
F_STRINGS_AVAILABLE = version_info >= (3, 6)
|
||||||
|
|
||||||
COORD_PAIR_TMPLT = re.compile(
|
COORD_PAIR_TMPLT = re.compile(
|
||||||
r'([\+-]?\d*[\.\d]\d*[eE][\+-]?\d+|[\+-]?\d*[\.\d]\d*)' +
|
r'([\+-]?\d*[\.\d]\d*[eE][\+-]?\d+|[\+-]?\d*[\.\d]\d*)' +
|
||||||
|
|
Loading…
Reference in New Issue