mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-18 06:19:47 +08:00
Replace Any with Incomplete in many places (#9558)
This commit is contained in:
@@ -18,7 +18,7 @@ BASE_ALIGN_VALUE: str
|
||||
|
||||
class PrettyTable:
|
||||
encoding: Any
|
||||
def __init__(self, field_names: Any | None = ..., **kwargs): ...
|
||||
def __init__(self, field_names: Incomplete | None = ..., **kwargs): ...
|
||||
def __getattr__(self, name: str): ...
|
||||
def __getitem__(self, index): ...
|
||||
@property
|
||||
@@ -216,7 +216,7 @@ class PrettyTable:
|
||||
def get_json_string(self, **kwargs) -> str: ...
|
||||
def get_html_string(self, **kwargs) -> str: ...
|
||||
|
||||
def from_csv(fp, field_names: Any | None = ..., **kwargs): ...
|
||||
def from_csv(fp, field_names: Incomplete | None = ..., **kwargs): ...
|
||||
def from_db_cursor(cursor, **kwargs): ...
|
||||
def from_json(json_string, **kwargs): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user