]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-107559: Argument Clinic: complain about non-ASCII chars in param docstrings (...
authorErlend E. Aasland <erlend@python.org>
Wed, 2 Aug 2023 12:40:23 +0000 (14:40 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Aug 2023 12:40:23 +0000 (12:40 +0000)
commit9ff7b4af137b8028b04b52addf003c4b0607113b
tree70dc9399f7500c12cc115f9047017c19daac2afb
parent439466a02b145b522a8969267264743706336501
gh-107559: Argument Clinic: complain about non-ASCII chars in param docstrings (#107560)

Previously, only function docstrings were checked for non-ASCII characters.
Also, improve the warn() message.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/test/test_clinic.py
Tools/clinic/clinic.py