Skip to content

Commit f993b28

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
1 parent 33c819f commit f993b28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/spec/overload.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ programming error and should be reported by type checkers::
196196
@overload
197197
def func1(x: int) -> str: ...
198198

199-
[Eric's note for reviewers: Mypy exempts `__get__` from the above check.
199+
[Eric's note for reviewers: Mypy exempts `__get__` from the above check.
200200
Refer to https://github.com/python/typing/issues/253#issuecomment-389262904
201201
for Ivan's explanation. I'm not convinced this exemption is necessary.
202202
Currently pyright copies the exemption. Do we want to codify this or leave it
@@ -501,4 +501,3 @@ For example, if class C inherits from A and B, should we expand C into A and B
501501
for purposes of overload matching? This could get very expensive and difficult
502502
to spec, and it feels like a significant edge case, so I'm inclined to leave it
503503
out. No one has asked for this, to my knowledge.]
504-

0 commit comments

Comments
 (0)