mirror of
https://github.com/python/cpython.git
synced 2025-12-31 12:33:28 +00:00
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 | ||