typing: remove metaclass from Sized (#9058)

as per https://github.com/python/typeshed/pull/8977#issuecomment-1297872394
This commit is contained in:
Shantanu
2022-11-01 18:38:52 -07:00
committed by GitHub
parent e7e94dd101
commit a3ce512095

View File

@@ -325,7 +325,7 @@ class SupportsRound(Protocol[_T_co]):
def __round__(self, __ndigits: int) -> _T_co: ...
@runtime_checkable
class Sized(Protocol, metaclass=ABCMeta):
class Sized(Protocol):
@abstractmethod
def __len__(self) -> int: ...