mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-21 09:08:27 +08:00
Mark first argument of __[get|set|del]attr__ as str (#9245)
This commit is contained in:
@@ -25,4 +25,4 @@ class _StreamingProtocolShim(nbio_interface.AbstractStreamProtocol):
|
||||
data_received: Incomplete
|
||||
conn: Incomplete
|
||||
def __init__(self, conn) -> None: ...
|
||||
def __getattr__(self, attr): ...
|
||||
def __getattr__(self, attr: str): ...
|
||||
|
||||
Reference in New Issue
Block a user