stdlib: fix many attributes which are read-only at runtime but read-write in the stub (#7395)

This commit is contained in:
Alex Waygood
2022-02-28 00:23:09 +00:00
committed by GitHub
parent 46da0b87ea
commit a0b41959ec
17 changed files with 104 additions and 50 deletions

View File

@@ -181,10 +181,14 @@ class InvalidMailbox(TokenList):
token_type: str
@property
def display_name(self) -> None: ...
local_part: None
domain: None
route: None
addr_spec: None
@property
def local_part(self) -> None: ...
@property
def domain(self) -> None: ...
@property
def route(self) -> None: ...
@property
def addr_spec(self) -> None: ...
class Domain(TokenList):
token_type: str