diff --git a/stdlib/3.7/_py_abc.pyi b/stdlib/3.7/_py_abc.pyi index 89106b956..c8fd1f918 100644 --- a/stdlib/3.7/_py_abc.pyi +++ b/stdlib/3.7/_py_abc.pyi @@ -6,5 +6,5 @@ _T = TypeVar("_T") def get_cache_token() -> object: ... class ABCMeta(type): - def __new__(mcls, __name: str, __bases: Tuple[Type[Any], ...], __namespace: Dict[str, Any]) -> ABCMeta: ... + def __new__(cls, __name: str, __bases: Tuple[Type[Any], ...], __namespace: Dict[str, Any]) -> ABCMeta: ... def register(cls, subclass: Type[_T]) -> Type[_T]: ... diff --git a/third_party/2and3/boto/s3/bucket.pyi b/third_party/2and3/boto/s3/bucket.pyi index f92818ff6..7e61cba54 100644 --- a/third_party/2and3/boto/s3/bucket.pyi +++ b/third_party/2and3/boto/s3/bucket.pyi @@ -7,7 +7,7 @@ from .key import Key class S3WebsiteEndpointTranslate: trans_region: Dict[str, str] @classmethod - def translate_region(self, reg: Text) -> str: ... + def translate_region(cls, reg: Text) -> str: ... S3Permissions: List[str] diff --git a/third_party/2and3/pynamodb/indexes.pyi b/third_party/2and3/pynamodb/indexes.pyi index 562c833d2..99db1146b 100644 --- a/third_party/2and3/pynamodb/indexes.pyi +++ b/third_party/2and3/pynamodb/indexes.pyi @@ -10,7 +10,7 @@ class Index(metaclass=IndexMeta): def count(cls, hash_key, consistent_read: bool = ..., **filters) -> int: ... @classmethod def query( - self, + cls, hash_key, scan_index_forward: Optional[Any] = ..., consistent_read: bool = ...,