summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-19 19:26:42 (GMT)
committerGuido van Rossum <guido@python.org>2002-08-19 19:26:42 (GMT)
commite3a8e7ed1d221e5c19d0b3cd9796b393bc41dc68 (patch)
tree2884b8565e41321e2bf453d7d34b4692a5583d10 /Objects/stringobject.c
parent056fbf422de9bd73988e81053de43c733c6b3a8b (diff)
downloadcpython-e3a8e7ed1d221e5c19d0b3cd9796b393bc41dc68.zip
cpython-e3a8e7ed1d221e5c19d0b3cd9796b393bc41dc68.tar.gz
cpython-e3a8e7ed1d221e5c19d0b3cd9796b393bc41dc68.tar.bz2
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.
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 2626d3c..7d3881e 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -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)