mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Fix stubtest for Python 3.12.0rc1 (#10541)
This commit is contained in:
@@ -193,6 +193,9 @@ class Enum(metaclass=EnumMeta):
|
||||
def __hash__(self) -> int: ...
|
||||
def __format__(self, format_spec: str) -> str: ...
|
||||
def __reduce_ex__(self, proto: Unused) -> tuple[Any, ...]: ...
|
||||
if sys.version_info >= (3, 12):
|
||||
def __copy__(self) -> Self: ...
|
||||
def __deepcopy__(self, memo: Any) -> Self: ...
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
class ReprEnum(Enum): ...
|
||||
|
||||
@@ -198,6 +198,9 @@ class Options(enum.IntFlag):
|
||||
OP_ENABLE_MIDDLEBOX_COMPAT: int
|
||||
if sys.platform == "linux":
|
||||
OP_IGNORE_UNEXPECTED_EOF: int
|
||||
if sys.version_info >= (3, 12) and sys.platform != "linux":
|
||||
OP_ENABLE_KTLS: int
|
||||
OP_IGNORE_UNEXPECTED_EOF: int
|
||||
|
||||
OP_ALL: Options
|
||||
OP_NO_SSLv2: Options
|
||||
@@ -216,6 +219,9 @@ if sys.version_info >= (3, 8):
|
||||
OP_ENABLE_MIDDLEBOX_COMPAT: Options
|
||||
if sys.platform == "linux":
|
||||
OP_IGNORE_UNEXPECTED_EOF: Options
|
||||
if sys.version_info >= (3, 12) and sys.platform != "linux":
|
||||
OP_ENABLE_KTLS: Options
|
||||
OP_IGNORE_UNEXPECTED_EOF: Options
|
||||
|
||||
HAS_NEVER_CHECK_COMMON_NAME: bool
|
||||
HAS_SSLv2: bool
|
||||
|
||||
Reference in New Issue
Block a user