mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merged revisions 66748 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66748 | christian.heimes | 2008-10-02 21:47:50 +0200 (Thu, 02 Oct 2008) | 1 line Fixed a couple more C99 comments and one occurence of inline. ........ + another // comment in bytesobject
This commit is contained in:
parent
c472532c0c
commit
1a8501c648
6 changed files with 23 additions and 23 deletions
|
@ -2965,7 +2965,7 @@ PyBytes_FromObject(PyObject *x)
|
|||
new = PyBytes_FromStringAndSize(NULL, view.len);
|
||||
if (!new)
|
||||
goto fail;
|
||||
// XXX(brett.cannon): Better way to get to internal buffer?
|
||||
/* XXX(brett.cannon): Better way to get to internal buffer? */
|
||||
if (PyBuffer_ToContiguous(((PyBytesObject *)new)->ob_sval,
|
||||
&view, view.len, 'C') < 0)
|
||||
goto fail;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue