Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 24898:a869d2de536f legacy-trunk
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.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 19 Aug 2002 19:26:42 +0000 |
| parents | cf561e612378 |
| children | bc660f73795c |
line wrap: on
line diff
--- a/Objects/stringobject.c Mon Aug 19 19:22:50 2002 +0000 +++ b/Objects/stringobject.c Mon Aug 19 19:26:42 2002 +0000 @@ -62,7 +62,7 @@ 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 @@ 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 @@ 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)
