mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-12 03:10:52 +08:00
Update types.py for 3.14 (#14146)
This commit is contained in:
@@ -171,6 +171,8 @@ class CodeType:
|
||||
@property
|
||||
def co_qualname(self) -> str: ...
|
||||
def co_positions(self) -> Iterable[tuple[int | None, int | None, int | None, int | None]]: ...
|
||||
if sys.version_info >= (3, 14):
|
||||
def co_branches(self) -> Iterator[tuple[int, int, int]]: ...
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
def __new__(
|
||||
@@ -580,6 +582,9 @@ class FrameType:
|
||||
f_trace_lines: bool
|
||||
f_trace_opcodes: bool
|
||||
def clear(self) -> None: ...
|
||||
if sys.version_info >= (3, 14):
|
||||
@property
|
||||
def f_generator(self) -> GeneratorType[Any, Any, Any] | CoroutineType[Any, Any, Any] | None: ...
|
||||
|
||||
@final
|
||||
class GetSetDescriptorType:
|
||||
|
||||
Reference in New Issue
Block a user