summaryrefslogtreecommitdiff
path: root/Modules/unicodedata.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-01-28 05:00:08 -0800
committerLarry Hastings <larry@hastings.org>2014-01-28 05:00:08 -0800
commit06dfef7169e62e9ef832275fbe1f072785b2e661 (patch)
treef9fab0836afc6e3d7c1511c2013d9b7b8980711d /Modules/unicodedata.c
parentb580c0a65e7c82b9dd7c426f653a6a2f65c51024 (diff)
downloadcpython-06dfef7169e62e9ef832275fbe1f072785b2e661.tar.gz
Issue #20326: Argument Clinic now uses a simple, unique signature to
annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
Diffstat (limited to 'Modules/unicodedata.c')
-rw-r--r--Modules/unicodedata.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/unicodedata.c b/Modules/unicodedata.c
index ca1620feab..c6c4ba2c71 100644
--- a/Modules/unicodedata.c
+++ b/Modules/unicodedata.c
@@ -21,7 +21,7 @@
module unicodedata
class unicodedata.UCD 'PreviousDBVersion *' '&UCD_Type'
[clinic start generated code]*/
-/*[clinic end generated code: checksum=da39a3ee5e6b4b0d3255bfef95601890afd80709]*/
+/*[clinic end generated code: output=da39a3ee5e6b4b0d input=6dac153082d150bc]*/
/* character properties */
@@ -129,7 +129,7 @@ not given, ValueError is raised.
[clinic start generated code]*/
PyDoc_STRVAR(unicodedata_UCD_decimal__doc__,
-"decimal(self, unichr, default=None)\n"
+"sig=($self, unichr, default=None)\n"
"Converts a Unicode character into its equivalent decimal value.\n"
"\n"
"Returns the decimal value assigned to the Unicode character unichr\n"
@@ -161,7 +161,7 @@ exit:
static PyObject *
unicodedata_UCD_decimal_impl(PreviousDBVersion *self, PyUnicodeObject *unichr, PyObject *default_value)
-/*[clinic end generated code: checksum=e1371a1a016e19fdd3cd2c1af1d1832df095f50b]*/
+/*[clinic end generated code: output=a3ad5de9393acb2f input=c25c9d2b4de076b1]*/
{
int have_old = 0;
long rc;