Mark various dunder methods as positional-only in the stdlib (#14528)

This commit is contained in:
Brian Schubert authored and GitHub committed 2025-08-05 17:57:39 -04:00
1 parent 953e21bafa
commit d01dc82bd2
7 files changed
+27 -26

No files matched your search

+1 -1
View File
@@ -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: ...