Skip to content

Commit ee2f893

Browse files
add ellipsis to incomplete class __getattr__ (#1740)
I'm fairly certain this is required, because I tried to follow this documentation by omitting it, just now, and got a syntax error.
1 parent 006d361 commit ee2f893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/stubs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ annotated function ``bar()``::
616616
def __getattr__(name: str) -> Any: ... # incomplete
617617

618618
class Foo:
619-
def __getattr__(self, name: str) -> Any: # incomplete
619+
def __getattr__(self, name: str) -> Any: ... # incomplete
620620
x: int
621621
y: str
622622

0 commit comments

Comments
 (0)