mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
Mark various dunder methods as positional-only in the stdlib (#14528)
This commit is contained in:
@@ -39,7 +39,7 @@ class Token(Generic[_T]):
|
||||
if sys.version_info >= (3, 14):
|
||||
def __enter__(self) -> Self: ...
|
||||
def __exit__(
|
||||
self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None
|
||||
self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None, /
|
||||
) -> None: ...
|
||||
|
||||
def copy_context() -> Context: ...
|
||||
|
||||
Reference in New Issue
Block a user