From 3f09eb86d4e0385abae4449757d72e623da9fe31 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Mon, 31 Oct 2022 23:27:37 -0700 Subject: [PATCH] typing: remove metaclass from Sized 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 d03a3eabbf9e..c9cfe304311e 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: ...