]>
Commit | Line | Data |
---|---|---|
1 | from __future__ import annotations | |
2 | ||
3 | import sys | |
4 | import tokenize | |
5 | ||
6 | if sys.version_info >= (3, 12): | |
7 | FSTRING_START = tokenize.FSTRING_START | |
8 | FSTRING_MIDDLE = tokenize.FSTRING_MIDDLE | |
9 | FSTRING_END = tokenize.FSTRING_END | |
10 | else: | |
11 | FSTRING_START = FSTRING_MIDDLE = FSTRING_END = -1 |