Skip to content

Commit fbb847e

Browse files
committed
Typo fix
1 parent 045a46b commit fbb847e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

conformance/tests/overloads_evaluation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ def example9(x: A[Any]) -> A[Any]:
391391

392392

393393
def check_example9(x: Any):
394-
# Steps 5 eliminates the first overload because there exists a
394+
# Step 5 eliminates the first overload because there exists a
395395
# materialization of `A[Any]` that is not assignable to `A[None]`. Step 6
396396
# picks the second overload.
397397
ret = example9(x)

docs/spec/overload.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Example 5::
432432
def example5(x: A[Any]) -> A[Any]: ...
433433

434434
def test(x: Any):
435-
# Steps 5 eliminates the first overload because there exists a
435+
# Step 5 eliminates the first overload because there exists a
436436
# materialization of `A[Any]` that is not assignable to `A[None]`. Step 6
437437
# picks the second overload.
438438
reveal_type(example5(x)) # Should reveal `A[Any]`

0 commit comments

Comments
 (0)