Issue #20179: Apply Argument Clinic to bytes and bytearray.

Patch by Tal Einat.
This commit is contained in:
Martin v. Löwis 2014-07-27 16:25:09 +02:00
parent e1b82531b3
commit 7252a6e81e
5 changed files with 1876 additions and 563 deletions

View file

@ -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__[];