diff options
author | Shantanu <12621235+hauntsaninja@users.noreply.github.com> | 2023-05-02 06:05:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 06:05:25 (GMT) |
commit | 82ba6ce303d04a7b21034e38d220e23ca9f1dc0a (patch) | |
tree | d80b5e3bb6db8d8dc5e5e93c6fcbe17e081406c0 /Doc/copyright.rst | |
parent | f0ad4567319ee4ae878d570ab7709ab63df9123e (diff) | |
download | cpython-82ba6ce303d04a7b21034e38d220e23ca9f1dc0a.zip cpython-82ba6ce303d04a7b21034e38d220e23ca9f1dc0a.tar.gz cpython-82ba6ce303d04a7b21034e38d220e23ca9f1dc0a.tar.bz2 |
Improve assert_type phrasing (#104081)
I'd like to make the fact that this does nothing at runtime
really obvious, since I suspect this is unintuitive for users who are
unfamiliar with static type checking.
I thought of this because of
https://discuss.python.org/t/add-arg-check-type-to-types/26384
wherein I'm skeptical that the user really did want `assert_type`.
Diffstat (limited to 'Doc/copyright.rst')
0 files changed, 0 insertions, 0 deletions