mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Use Incomplete instead of Any in __getattr__ (#8903)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Iterable
|
||||
from typing import Any, overload
|
||||
|
||||
@@ -12,4 +13,4 @@ def lazy_fixture(names: str) -> LazyFixture: ...
|
||||
def lazy_fixture(names: Iterable[str]) -> list[LazyFixture] | Any: ...
|
||||
def is_lazy_fixture(val: Any) -> bool: ...
|
||||
def pytest_configure() -> None: ...
|
||||
def __getattr__(name: str) -> Any: ... # incomplete
|
||||
def __getattr__(name: str) -> Incomplete: ...
|
||||
|
||||
Reference in New Issue
Block a user