We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e1568f commit 32af4fdCopy full SHA for 32af4fd
src/tomli/_parser.py
@@ -16,8 +16,8 @@
16
match_to_number,
17
)
18
19
-MYPY = False
20
-if MYPY: # pragma: no cover
+TYPE_CHECKING = False
+if TYPE_CHECKING:
21
from collections.abc import Iterable
22
from typing import IO, Any, Final
23
src/tomli/_re.py
@@ -8,8 +8,8 @@
8
from functools import lru_cache
9
import re
10
11
12
13
from typing import Any, Final
14
15
from ._types import ParseFloat
0 commit comments