mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Update typing-extensions; some 3.12 updates (#10200)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -598,3 +598,25 @@ def classify_class_attrs(cls: type) -> list[Attribute]: ...
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
class ClassFoundException(Exception): ...
|
||||
|
||||
if sys.version_info >= (3, 12):
|
||||
class BufferFlags(enum.IntFlag):
|
||||
SIMPLE: int
|
||||
WRITABLE: int
|
||||
FORMAT: int
|
||||
ND: int
|
||||
STRIDES: int
|
||||
C_CONTIGUOUS: int
|
||||
F_CONTIGUOUS: int
|
||||
ANY_CONTIGUOUS: int
|
||||
INDIRECT: int
|
||||
CONTIG: int
|
||||
CONTIG_RO: int
|
||||
STRIDED: int
|
||||
STRIDED_RO: int
|
||||
RECORDS: int
|
||||
RECORDS_RO: int
|
||||
FULL: int
|
||||
FULL_RO: int
|
||||
READ: int
|
||||
WRITE: int
|
||||
|
||||
Reference in New Issue
Block a user