mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +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:
@@ -12,9 +12,9 @@ class PyCompileError(Exception):
|
||||
def __init__(self, exc_type: type[BaseException], exc_value: BaseException, file: str, msg: str = "") -> None: ...
|
||||
|
||||
class PycInvalidationMode(enum.Enum):
|
||||
TIMESTAMP: int
|
||||
CHECKED_HASH: int
|
||||
UNCHECKED_HASH: int
|
||||
TIMESTAMP = 1
|
||||
CHECKED_HASH = 2
|
||||
UNCHECKED_HASH = 3
|
||||
|
||||
def _get_default_invalidation_mode() -> PycInvalidationMode: ...
|
||||
def compile(
|
||||
|
||||
Reference in New Issue
Block a user