Author: Armin Rigo <ar...@tunes.org> Branch: cpyext-gc-support Changeset: r80400:3b2fdb9a3678 Date: 2015-10-23 08:56 +0200 http://bitbucket.org/pypy/pypy/changeset/3b2fdb9a3678/
Log: typo diff --git a/pypy/module/cpyext/stringobject.py b/pypy/module/cpyext/stringobject.py --- a/pypy/module/cpyext/stringobject.py +++ b/pypy/module/cpyext/stringobject.py @@ -166,7 +166,7 @@ @cpython_api([PyObject, rffi.CCHARPP, rffi.CArrayPtr(Py_ssize_t)], rffi.INT_real, error=-1) def PyString_AsStringAndSize(space, ref, buffer, length): - buffer[0] = Pystring_AsString(space, ref) + buffer[0] = PyString_AsString(space, ref) ref_str = rffi.cast(PyStringObject, ref) if length: length[0] = ref_str.c_ob_size _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit