diff options
author | Larry Hastings <larry@hastings.org> | 2013-11-23 14:54:00 -0800 |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2013-11-23 14:54:00 -0800 |
commit | ebdcb50b8a0d37af4acd7d2387eae8ff2b5f0b9b (patch) | |
tree | 37c439db53352c588bac7c9fb5b05457ce52fa3e /Objects/unicodeobject.c | |
parent | 3a9079742f2d71e6968823e155f3778473113538 (diff) | |
download | cpython-git-ebdcb50b8a0d37af4acd7d2387eae8ff2b5f0b9b.tar.gz |
Issue #19730: Argument Clinic now supports all the existing PyArg
"format units" as legacy converters, as well as two new features:
"self converters" and the "version" directive.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 7de5f1f40c..1f3164c9cf 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -12924,10 +12924,10 @@ PyDoc_STRVAR(unicode_maketrans__doc__, {"maketrans", (PyCFunction)unicode_maketrans, METH_VARARGS|METH_STATIC, unicode_maketrans__doc__}, static PyObject * -unicode_maketrans_impl(PyObject *x, PyObject *y, PyObject *z); +unicode_maketrans_impl(void *null, PyObject *x, PyObject *y, PyObject *z); static PyObject * -unicode_maketrans(PyObject *null, PyObject *args) +unicode_maketrans(void *null, PyObject *args) { PyObject *return_value = NULL; PyObject *x; @@ -12938,15 +12938,15 @@ unicode_maketrans(PyObject *null, PyObject *args) "O|UU:maketrans", &x, &y, &z)) goto exit; - return_value = unicode_maketrans_impl(x, y, z); + return_value = unicode_maketrans_impl(null, x, y, z); exit: return return_value; } static PyObject * -unicode_maketrans_impl(PyObject *x, PyObject *y, PyObject *z) -/*[clinic checksum: 137db9c3199e7906b7967009f511c24fa3235b5f]*/ +unicode_maketrans_impl(void *null, PyObject *x, PyObject *y, PyObject *z) +/*[clinic checksum: 6d522e3aea2f2e123da3c5d367132a99d803f9b9]*/ { PyObject *new = NULL, *key, *value; Py_ssize_t i = 0; |