mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Issue #20179: Apply Argument Clinic to bytes and bytearray.
Patch by Tal Einat.
This commit is contained in:
parent
e1b82531b3
commit
7252a6e81e
5 changed files with 1876 additions and 563 deletions
|
@ -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__[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue