diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2023-12-10 15:30:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-10 15:30:02 (GMT) |
commit | 1f9cd3c1e5410e45ade4362713229fa445ea6962 (patch) | |
tree | 091012f7c581404918755e4af592283729a45d5b /Python/pystrhex.c | |
parent | 9d02d3451a61521c65db6f93596ece2f572f1f3e (diff) | |
download | cpython-1f9cd3c1e5410e45ade4362713229fa445ea6962.zip cpython-1f9cd3c1e5410e45ade4362713229fa445ea6962.tar.gz cpython-1f9cd3c1e5410e45ade4362713229fa445ea6962.tar.bz2 |
Argument Clinic: fix bare "type" in annotations (#112915)
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.
Diffstat (limited to 'Python/pystrhex.c')
0 files changed, 0 insertions, 0 deletions