mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-10 07:15:50 +08:00
Use Final for undocumented constants (#12450)
This commit is contained in:
1 parent
1f4d0a815f
commit
9a77f6006d
10 files changed
+60
-61
No files matched your search
@@ -1,12 +1,12 @@
|
||||
from collections.abc import Callable, Iterator
|
||||
from email.message import Message
|
||||
from typing import overload
|
||||
from typing import Final, overload
|
||||
|
||||
__all__ = ["Charset", "add_alias", "add_charset", "add_codec"]
|
||||
|
||||
QP: int # undocumented
|
||||
BASE64: int # undocumented
|
||||
SHORTEST: int # undocumented
|
||||
QP: Final[int] # undocumented
|
||||
BASE64: Final[int] # undocumented
|
||||
SHORTEST: Final[int] # undocumented
|
||||
|
||||
class Charset:
|
||||
input_charset: str
|
||||
|
||||
Reference in new issue
Block a user