mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
Big diff: Use new "|" union syntax (#5872)
This commit is contained in:
1 parent
b9adb7a874
commit
ee487304d7
578 files changed
+8080
-8966
No files matched your search
+2
-2
@@ -1,6 +1,6 @@
|
||||
from typing import Optional, TextIO
|
||||
from typing import TextIO
|
||||
|
||||
def getpass(prompt: str = ..., stream: Optional[TextIO] = ...) -> str: ...
|
||||
def getpass(prompt: str = ..., stream: TextIO | None = ...) -> str: ...
|
||||
def getuser() -> str: ...
|
||||
|
||||
class GetPassWarning(UserWarning): ...
|
||||
Reference in new issue
Block a user