Author: Matti Picus <[email protected]> Branch: Changeset: r86911:c1a85c2f66cf Date: 2016-09-06 22:00 +0300 http://bitbucket.org/pypy/pypy/changeset/c1a85c2f66cf/
Log: documentation diff --git a/pypy/module/cpyext/bytesobject.py b/pypy/module/cpyext/bytesobject.py --- a/pypy/module/cpyext/bytesobject.py +++ b/pypy/module/cpyext/bytesobject.py @@ -20,8 +20,10 @@ ## ## The following calls can create a PyBytesObject without a correspoinding ## RPython object: - -## In any of the above PyBytesObject, the ob_sval buffer may be modified as +## +## PyBytes_FromStringAndSize(NULL, n) / PyString_FromStringAndSize(NULL, n) +## +## In the PyBytesObject returned, the ob_sval buffer may be modified as ## long as the freshly allocated PyBytesObject is not "forced" via a call ## to any of the more sophisticated C-API functions. ## _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
