diff options
author | Dong-hee Na <donghee.na@python.org> | 2023-02-06 04:58:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-06 04:58:00 (GMT) |
commit | 9ef7e75434587fc8f167d73eee5dd9bdca62714b (patch) | |
tree | 958f4c93bdf4ae6d3aea0f6cd96888412cec70d0 /Modules | |
parent | ef7c2bfcf1fd618438f981ace64499a99ae9fae0 (diff) | |
download | cpython-9ef7e75434587fc8f167d73eee5dd9bdca62714b.zip cpython-9ef7e75434587fc8f167d73eee5dd9bdca62714b.tar.gz cpython-9ef7e75434587fc8f167d73eee5dd9bdca62714b.tar.bz2 |
gh-101372: Fix unicodedata.is_normalized to properly handle the UCD 3… (gh-101388)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/unicodedata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c index 59fccd4..c108f14 100644 --- a/Modules/unicodedata.c +++ b/Modules/unicodedata.c @@ -800,7 +800,7 @@ is_normalized_quickcheck(PyObject *self, PyObject *input, bool nfc, bool k, { /* UCD 3.2.0 is requested, quickchecks must be disabled. */ if (UCD_Check(self)) { - return NO; + return MAYBE; } if (PyUnicode_IS_ASCII(input)) { |