Skip to content

Commit 3f09eb8

Browse files
committed
typing: remove metaclass from Sized
as per python#8977 (comment)
1 parent 524cd53 commit 3f09eb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stdlib/typing.pyi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ class SupportsRound(Protocol[_T_co]):
325325
def __round__(self, __ndigits: int) -> _T_co: ...
326326

327327
@runtime_checkable
328-
class Sized(Protocol, metaclass=ABCMeta):
328+
class Sized(Protocol):
329329
@abstractmethod
330330
def __len__(self) -> int: ...
331331

0 commit comments

Comments
 (0)