mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-23 19:41:51 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import IO, Any, Callable, Tuple
|
||||
from typing import IO, Any, Callable
|
||||
|
||||
class Cmd:
|
||||
prompt: str
|
||||
@@ -23,7 +23,7 @@ class Cmd:
|
||||
def postcmd(self, stop: bool, line: str) -> bool: ...
|
||||
def preloop(self) -> None: ...
|
||||
def postloop(self) -> None: ...
|
||||
def parseline(self, line: str) -> Tuple[str | None, str | None, str]: ...
|
||||
def parseline(self, line: str) -> tuple[str | None, str | None, str]: ...
|
||||
def onecmd(self, line: str) -> bool: ...
|
||||
def emptyline(self) -> bool: ...
|
||||
def default(self, line: str) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user