File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ def example9(x: A[Any]) -> A[Any]:
391391
392392
393393def 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 )
Original file line number Diff line number Diff 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]`
You can’t perform that action at this time.
0 commit comments