mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-19 20:27:05 +08:00
Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
36 files changed
+1093
-1087
No files matched your search
@@ -24,7 +24,7 @@ SYM_EMPTY: Final[bytes]
|
||||
SERVER_CLOSED_CONNECTION_ERROR: Final[str]
|
||||
|
||||
class _Sentinel(enum.Enum):
|
||||
sentinel: object
|
||||
sentinel = object()
|
||||
|
||||
SENTINEL: Final[object]
|
||||
MODULE_LOAD_ERROR: Final[str]
|
||||
|
||||
Reference in new issue
Block a user