mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Simplify and correct many numeric unions (#7906)
Unblocks PyCQA/flake8-pyi#222
This commit is contained in:
@@ -70,7 +70,7 @@ class FTP:
|
||||
def getwelcome(self) -> str: ...
|
||||
def set_debuglevel(self, level: int) -> None: ...
|
||||
def debug(self, level: int) -> None: ...
|
||||
def set_pasv(self, val: bool | int) -> None: ...
|
||||
def set_pasv(self, val: bool | Literal[0, 1]) -> None: ...
|
||||
def sanitize(self, s: str) -> str: ...
|
||||
def putline(self, line: str) -> None: ...
|
||||
def putcmd(self, line: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user