summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-19 19:26:42 +0000
committerGuido van Rossum <guido@python.org>2002-08-19 19:26:42 +0000
commitd9565dcb111db08a99a715f0e4a566a25e31fd07 (patch)
treed9a8328e90fc234022ce5dd7cb37fdb774ce678d /Objects/stringobject.c
parent0ab4c6672feccdc4956e5d3687fafb30f1d2e6e5 (diff)
downloadcpython-d9565dcb111db08a99a715f0e4a566a25e31fd07.tar.gz
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 2626d3c891..7d3881e6a0 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)