We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Final
1 parent fe2c401 commit 21f7d01Copy full SHA for 21f7d01
stdlib/json/encoder.pyi
@@ -1,12 +1,12 @@
1
from collections.abc import Callable, Iterator
2
from re import Pattern
3
-from typing import Any
+from typing import Any, Final
4
5
-ESCAPE: Pattern[str]
6
-ESCAPE_ASCII: Pattern[str]
7
-HAS_UTF8: Pattern[bytes]
8
-ESCAPE_DCT: dict[str, str]
9
-INFINITY: float
+ESCAPE: Final[Pattern[str]]
+ESCAPE_ASCII: Final[Pattern[str]]
+HAS_UTF8: Final[Pattern[bytes]]
+ESCAPE_DCT: Final[dict[str, str]]
+INFINITY: Final[float]
10
11
def py_encode_basestring(s: str) -> str: ... # undocumented
12
def py_encode_basestring_ascii(s: str) -> str: ... # undocumented
0 commit comments