@@ -6,7 +6,7 @@ from collections.abc import Callable, Iterable, Mapping
66from datetime import datetime
77from io import BytesIO
88from types import TracebackType
9- from typing import Any , Literal , Protocol , overload
9+ from typing import Any , Final , Literal , Protocol , overload
1010from typing_extensions import Self , TypeAlias
1111
1212class _SupportsTimeTuple (Protocol ):
@@ -34,22 +34,22 @@ _HostType: TypeAlias = tuple[str, dict[str, str]] | str
3434
3535def escape (s : str ) -> str : ... # undocumented
3636
37- MAXINT : int # undocumented
38- MININT : int # undocumented
37+ MAXINT : Final [ int ] # undocumented
38+ MININT : Final [ int ] # undocumented
3939
40- PARSE_ERROR : int # undocumented
41- SERVER_ERROR : int # undocumented
42- APPLICATION_ERROR : int # undocumented
43- SYSTEM_ERROR : int # undocumented
44- TRANSPORT_ERROR : int # undocumented
40+ PARSE_ERROR : Final [ int ] # undocumented
41+ SERVER_ERROR : Final [ int ] # undocumented
42+ APPLICATION_ERROR : Final [ int ] # undocumented
43+ SYSTEM_ERROR : Final [ int ] # undocumented
44+ TRANSPORT_ERROR : Final [ int ] # undocumented
4545
46- NOT_WELLFORMED_ERROR : int # undocumented
47- UNSUPPORTED_ENCODING : int # undocumented
48- INVALID_ENCODING_CHAR : int # undocumented
49- INVALID_XMLRPC : int # undocumented
50- METHOD_NOT_FOUND : int # undocumented
51- INVALID_METHOD_PARAMS : int # undocumented
52- INTERNAL_ERROR : int # undocumented
46+ NOT_WELLFORMED_ERROR : Final [ int ] # undocumented
47+ UNSUPPORTED_ENCODING : Final [ int ] # undocumented
48+ INVALID_ENCODING_CHAR : Final [ int ] # undocumented
49+ INVALID_XMLRPC : Final [ int ] # undocumented
50+ METHOD_NOT_FOUND : Final [ int ] # undocumented
51+ INVALID_METHOD_PARAMS : Final [ int ] # undocumented
52+ INTERNAL_ERROR : Final [ int ] # undocumented
5353
5454class Error (Exception ): ...
5555
@@ -98,7 +98,7 @@ class Binary:
9898
9999def _binary (data : ReadableBuffer ) -> Binary : ... # undocumented
100100
101- WRAPPERS : tuple [type [DateTime ], type [Binary ]] # undocumented
101+ WRAPPERS : Final [ tuple [type [DateTime ], type [Binary ] ]] # undocumented
102102
103103class ExpatParser : # undocumented
104104 def __init__ (self , target : Unmarshaller ) -> None : ...
0 commit comments