Skip to content

Commit a3ce512

Browse files
authored
typing: remove metaclass from Sized (#9058)
as per #8977 (comment)
1 parent e7e94dd commit a3ce512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)