Manual changes of Any union to Incomplete in stubs folder (#9566)

- ClassVar[Any | None]
- Missed previous changes due to alias
- Manual review of leftover Any unions (`| Any` and `Any |`)
This commit is contained in:
Avasam
2023-02-02 09:48:41 -05:00
committed by GitHub
parent 95dc689b28
commit f1aede7162
12 changed files with 32 additions and 22 deletions

View File

@@ -16,7 +16,7 @@ class TomlEncoder(Generic[_MappingT]):
@overload
def __init__(self: TomlEncoder[dict[str, Any]], _dict: type[dict[str, Any]] = ..., preserve: bool = ...) -> None: ...
def get_empty_table(self) -> _MappingT: ...
def dump_list(self, v: Iterable[object]) -> str: ...
def dump_list(self, v: Iterable[Any]) -> str: ...
def dump_inline_table(self, section: dict[str, Any] | Any) -> str: ...
def dump_value(self, v: Any) -> str: ...
def dump_sections(self, o: _MappingT, sup: str) -> tuple[str, _MappingT]: ...