Skip to content
Prev Previous commit
Next Next commit
Typo fix
  • Loading branch information
rchen152 committed Apr 8, 2026
commit fbb847ea897e16c23f058645aa1efad22dc50e9c
2 changes: 1 addition & 1 deletion conformance/tests/overloads_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def example9(x: A[Any]) -> A[Any]:


def check_example9(x: Any):
# Steps 5 eliminates the first overload because there exists a
# Step 5 eliminates the first overload because there exists a
# materialization of `A[Any]` that is not assignable to `A[None]`. Step 6
# picks the second overload.
ret = example9(x)
Expand Down
2 changes: 1 addition & 1 deletion docs/spec/overload.rst
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ Example 5::
def example5(x: A[Any]) -> A[Any]: ...

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