summaryrefslogtreecommitdiffstats
path: root/Modules/unicodedata.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2015-05-08 06:30:09 (GMT)
committerLarry Hastings <larry@hastings.org>2015-05-08 06:30:09 (GMT)
commit38337d1e1542eddd7f3f839535c8b440a3c90499 (patch)
tree64cc756a2f10e456c93f7c0812e472d199842fcd /Modules/unicodedata.c
parent95283fb58951aaa0ee7cfefcbf8785f132819529 (diff)
downloadcpython-38337d1e1542eddd7f3f839535c8b440a3c90499.zip
cpython-38337d1e1542eddd7f3f839535c8b440a3c90499.tar.gz
cpython-38337d1e1542eddd7f3f839535c8b440a3c90499.tar.bz2
Issue #24000: Improved Argument Clinic's mapping of converters to legacy
"format units". Updated the documentation to match.
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r--Modules/unicodedata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
index b4336f2..a6e2dbc 100644
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -1215,7 +1215,7 @@ unicodedata_UCD_name_impl(PyObject *self, int chr, PyObject *default_value)
unicodedata.UCD.lookup
self: self
- name: str(accept={str, robuffer}, length=True)
+ name: str(accept={str, robuffer}, zeroes=True)
/
Look up character by name.
@@ -1227,7 +1227,7 @@ corresponding character. If not found, KeyError is raised.
static PyObject *
unicodedata_UCD_lookup_impl(PyObject *self, const char *name,
Py_ssize_clean_t name_length)
-/*[clinic end generated code: output=765cb8186788e6be input=2dfe682c2491447a]*/
+/*[clinic end generated code: output=765cb8186788e6be input=a557be0f8607a0d6]*/
{
Py_UCS4 code;
unsigned int index;