@@ -158,7 +158,7 @@ should report an error::
158158 def func(x: str, /) -> str: ...
159159 @overload
160160 def func(x: int) -> int: ...
161-
161+
162162 # This implementation is inconsistent with the second overload
163163 # because it does not accept a keyword argument ``x`` and the
164164 # the overload's return type ``int`` is not assignable to the
@@ -169,7 +169,7 @@ should report an error::
169169Overlapping overloads
170170^^^^^^^^^^^^^^^^^^^^^
171171
172- If two overloads can accept the same set of arguments but have
172+ If two overloads can accept the same set of arguments but have
173173different return types, the overloads are said to "partially overlap".
174174This condition is indicative of a programming error and should
175175be reported by type checkers::
@@ -184,7 +184,7 @@ be reported by type checkers::
184184 def func(x: int) -> str: ...
185185
186186If all arguments accepted by an overload are also always accepted by
187- an earlier overload, the two overloads are said to "fully overlap".
187+ an earlier overload, the two overloads are said to "fully overlap".
188188In this case, the latter overload will never be used. This condition
189189is indicative of a programming error and should be reported by type
190190checkers::
@@ -355,7 +355,7 @@ Example 3::
355355 def example3(x: int, y: int) -> tuple[int, int]: ...
356356 @overload
357357 def example3(*args: int) -> tuple[int, ...]: ...
358-
358+
359359 def test():
360360 # Step 1 eliminates second overload. Step 4 and
361361 # step 5 do not apply. Step 6 picks the first
0 commit comments