diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-01-17 01:21:47 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2017-01-17 01:21:47 (GMT) |
commit | 0c4a828cadfccd8b95a39f7930705de75ed5f729 (patch) | |
tree | 713eeceb5c63f4324fa83e9603a0284272e9eb58 /Objects/unicodeobject.c | |
parent | 093119e4eb8424451ef24a5a5a3ce9881d77abd5 (diff) | |
download | cpython-0c4a828cadfccd8b95a39f7930705de75ed5f729.zip cpython-0c4a828cadfccd8b95a39f7930705de75ed5f729.tar.gz cpython-0c4a828cadfccd8b95a39f7930705de75ed5f729.tar.bz2 |
Run Argument Clinic: METH_VARARGS=>METH_FASTCALL
Issue #29286. Run Argument Clinic to get the new faster METH_FASTCALL calling
convention for functions using "boring" positional arguments.
Manually fix _elementtree: _elementtree_XMLParser_doctype() must remain
consistent with the clinic code.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index e2bdf08..5fbe56c 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -12453,14 +12453,14 @@ str.strip as unicode_strip chars: object = None / -Return a copy of the string with leading and trailing whitespace removed. +Return a copy of the string with leading and trailing whitespace remove. If chars is given and not None, remove characters in chars instead. [clinic start generated code]*/ static PyObject * unicode_strip_impl(PyObject *self, PyObject *chars) -/*[clinic end generated code: output=ca19018454345d57 input=385289c6f423b954]*/ +/*[clinic end generated code: output=ca19018454345d57 input=eefe24a1059c352b]*/ { return do_argstrip(self, BOTHSTRIP, chars); } |