From a3ce51209544d64d03018b3927051375f1bebe82 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Tue, 1 Nov 2022 18:38:52 -0700 Subject: [PATCH] typing: remove metaclass from Sized (#9058) as per https://github.com/python/typeshed/pull/8977#issuecomment-1297872394 --- stdlib/typing.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index d03a3eabb..c9cfe3043 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -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: ...