diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2015-02-03 01:25:42 +0200 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-02-03 01:25:42 +0200 |
| commit | 3dd3e26680110b3eeadedc9c8457dfe1db2b913c (patch) | |
| tree | 584a98eda6e93033ddaf313b95826e6e3cd887cb /Include/bytes_methods.h | |
| parent | 0b2a6dc42b9bf02408764133a8dfcd843bbd0e66 (diff) | |
| parent | 4fdb68491e8b2d044c9173babf625bbb815c39d1 (diff) | |
| download | cpython-git-3dd3e26680110b3eeadedc9c8457dfe1db2b913c.tar.gz | |
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
and PyObject_AsWriteBuffer().
Diffstat (limited to 'Include/bytes_methods.h')
| -rw-r--r-- | Include/bytes_methods.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/bytes_methods.h b/Include/bytes_methods.h index 290488124a..11d5f42752 100644 --- a/Include/bytes_methods.h +++ b/Include/bytes_methods.h @@ -22,7 +22,7 @@ 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); /* The maketrans() static method. */ -extern PyObject* _Py_bytes_maketrans(PyObject *frm, PyObject *to); +extern PyObject* _Py_bytes_maketrans(Py_buffer *frm, Py_buffer *to); /* Shared __doc__ strings. */ extern const char _Py_isspace__doc__[]; |
