Remove nearly all __str__ and __repr__ methods from typeshed (#6968)

This commit is contained in:
Alex Waygood
2022-01-19 23:45:11 +00:00
committed by GitHub
parent fe6233a8c3
commit aea52b35d1
27 changed files with 11 additions and 72 deletions

View File

@@ -38,7 +38,6 @@ class MiniFieldStorage:
name: Any
value: Any
def __init__(self, name: Any, value: Any) -> None: ...
def __repr__(self) -> str: ...
class FieldStorage(object):
FieldStorageClass: _type | None
@@ -72,7 +71,6 @@ class FieldStorage(object):
keep_blank_values: int = ...,
strict_parsing: int = ...,
) -> None: ...
def __repr__(self) -> str: ...
def __iter__(self) -> Iterator[str]: ...
def __getitem__(self, key: str) -> Any: ...
def getvalue(self, key: str, default: Any = ...) -> Any: ...