mirror of
https://github.com/python/cpython
synced 2024-09-16 04:30:00 +00: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 |