mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
Call me anal, but there was a particular phrase that was speading to
comments everywhere that bugged me: /* Foo is inlined */ instead of /* Inline Foo */. Somehow the "is inlined" phrase always confused me for half a second (thinking, "No it isn't" until I added the missing "here"). The new phrase is hopefully unambiguous.
This commit is contained in:
parent
056fbf422d
commit
e3a8e7ed1d
7 changed files with 9 additions and 9 deletions
|
|
@ -62,7 +62,7 @@ PyString_FromStringAndSize(const char *str, int size)
|
|||
return (PyObject *)op;
|
||||
}
|
||||
|
||||
/* PyObject_NewVar is inlined */
|
||||
/* Inline PyObject_NewVar */
|
||||
op = (PyStringObject *)
|
||||
PyObject_MALLOC(sizeof(PyStringObject) + size * sizeof(char));
|
||||
if (op == NULL)
|
||||
|
|
@ -118,7 +118,7 @@ PyString_FromString(const char *str)
|
|||
return (PyObject *)op;
|
||||
}
|
||||
|
||||
/* PyObject_NewVar is inlined */
|
||||
/* Inline PyObject_NewVar */
|
||||
op = (PyStringObject *)
|
||||
PyObject_MALLOC(sizeof(PyStringObject) + size * sizeof(char));
|
||||
if (op == NULL)
|
||||
|
|
@ -878,7 +878,7 @@ string_concat(register PyStringObject *a, register PyObject *bb)
|
|||
return (PyObject *)a;
|
||||
}
|
||||
size = a->ob_size + b->ob_size;
|
||||
/* PyObject_NewVar is inlined */
|
||||
/* Inline PyObject_NewVar */
|
||||
op = (PyStringObject *)
|
||||
PyObject_MALLOC(sizeof(PyStringObject) + size * sizeof(char));
|
||||
if (op == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue