mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Use the Literal["foo", "bar"] syntax consistently (#6984)
This commit is contained in:
@@ -72,7 +72,7 @@ class Cursor:
|
||||
def prepare(self, operation: str, newcursor: Literal[True]) -> Cursor: ...
|
||||
@overload
|
||||
def prepare(self, operation: str, newcursor: Literal[False]) -> Any: ...
|
||||
def scroll(self, value: int, mode: Literal["absolute"] | Literal["relative"] = ...) -> None: ...
|
||||
def scroll(self, value: int, mode: Literal["absolute", "relative"] = ...) -> None: ...
|
||||
def server_cpu_time(self) -> int: ...
|
||||
def server_memory_usage(self) -> int: ...
|
||||
def server_processing_time(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user