We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c61d47 commit 72c4222Copy full SHA for 72c4222
setuptools/_static.py
@@ -1,5 +1,5 @@
1
from functools import wraps
2
-from typing import Any, TypeVar
+from typing import TypeVar
3
4
import packaging.specifiers
5
@@ -170,7 +170,7 @@ def attempt_conversion(value: T) -> T:
170
return _CONVERSIONS.get(type(value), noop)(value) # type: ignore[call-overload]
171
172
173
-def is_static(value: Any) -> bool:
+def is_static(value: object) -> bool:
174
"""
175
>>> is_static(a := Dict({'a': 1}))
176
True
0 commit comments