|
1 | 1 | import sys |
2 | | -from _typeshed import ReadableBuffer |
| 2 | +from _typeshed import ReadableBuffer, Unused |
3 | 3 | from collections.abc import Callable, Mapping |
4 | 4 | from typing import Any, AnyStr, Generic, Literal, TypeVar, final, overload |
5 | 5 | from typing_extensions import Self |
@@ -568,7 +568,7 @@ class Pattern(Generic[AnyStr]): |
568 | 568 | timeout: float | None = None, |
569 | 569 | ) -> _regex.Scanner[bytes]: ... |
570 | 570 | def __copy__(self) -> Self: ... |
571 | | - def __deepcopy__(self) -> Self: ... |
| 571 | + def __deepcopy__(self, memo: Unused, /) -> Self: ... |
572 | 572 | if sys.version_info >= (3, 9): |
573 | 573 | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... |
574 | 574 |
|
@@ -647,6 +647,6 @@ class Match(Generic[AnyStr]): |
647 | 647 | @overload |
648 | 648 | def __getitem__(self, key: int | str, /) -> AnyStr | Any: ... |
649 | 649 | def __copy__(self) -> Self: ... |
650 | | - def __deepcopy__(self) -> Self: ... |
| 650 | + def __deepcopy__(self, memo: Unused, /) -> Self: ... |
651 | 651 | if sys.version_info >= (3, 9): |
652 | 652 | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... |
0 commit comments