mirror of
https://github.com/python/cpython.git
synced 2024-12-02 22:35:26 +08:00
1f9cd3c1e5
Bare "type" in annotations should be equivalent to "type[Any]"; see https://discuss.python.org/t/inconsistencies-between-type-and-type/37404 and python/mypy#16366. It's better to use "type[object]", which is safer and unambiguous. |
||
---|---|---|
.. | ||
.ruff.toml | ||
clinic.py | ||
cpp.py | ||
mypy.ini |