summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2014-07-27 14:25:09 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2014-07-27 14:25:09 (GMT)
commit7252a6e81e1e1616057fa806836ec85ec88e1c1c (patch)
treee0cf17aa22a44a84c46abca7e22f1b419e224e35 /Include
parente1b82531b32295604eacd27faeb87431c426bd52 (diff)
downloadcpython-7252a6e81e1e1616057fa806836ec85ec88e1c1c.zip
cpython-7252a6e81e1e1616057fa806836ec85ec88e1c1c.tar.gz
cpython-7252a6e81e1e1616057fa806836ec85ec88e1c1c.tar.bz2
Issue #20179: Apply Argument Clinic to bytes and bytearray.
Patch by Tal Einat.
Diffstat (limited to 'Include')
-rw-r--r--Include/bytes_methods.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/bytes_methods.h b/Include/bytes_methods.h
index 1498b8f..2904881 100644
--- a/Include/bytes_methods.h
+++ b/Include/bytes_methods.h
@@ -21,8 +21,8 @@ extern void _Py_bytes_title(char *result, char *s, Py_ssize_t len);
extern void _Py_bytes_capitalize(char *result, char *s, Py_ssize_t len);
extern void _Py_bytes_swapcase(char *result, char *s, Py_ssize_t len);
-/* This one gets the raw argument list. */
-extern PyObject* _Py_bytes_maketrans(PyObject *args);
+/* The maketrans() static method. */
+extern PyObject* _Py_bytes_maketrans(PyObject *frm, PyObject *to);
/* Shared __doc__ strings. */
extern const char _Py_isspace__doc__[];