mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Fix example code (#3592)
This commit is contained in:
committed by
Jelle Zijlstra
parent
e7430508b0
commit
885c2fd65e
@@ -156,7 +156,7 @@ annotated function `bar()`:
|
||||
def __getattr__(name: str) -> Any: ... # incomplete
|
||||
|
||||
class Foo:
|
||||
def __getattr__(self, name: str) -> Any: # incomplete
|
||||
def __getattr__(self, name: str) -> Any: ... # incomplete
|
||||
x: int
|
||||
y: str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user