Skip to content

Commit 314fb04

Browse files
Update Doc/library/typing.rst
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent c380dd0 commit 314fb04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ For example, this conforms to :pep:`484`::
813813
def __len__(self) -> int: ...
814814
def __iter__(self) -> Iterator[int]: ...
815815

816-
:pep:`544` allows you to solve this problem by allowing users to write
816+
:pep:`544` solves this problem by allowing users to write
817817
the above code without explicit base classes in the class definition,
818818
allowing ``Bucket`` to be implicitly considered a subtype of both ``Sized``
819819
and ``Iterable[int]`` by static type checkers. This is known as

0 commit comments

Comments
 (0)