summaryrefslogtreecommitdiffstats
path: root/Objects
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
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')
-rw-r--r--Objects/bufferobject.c2
-rw-r--r--Objects/complexobject.c2
-rw-r--r--Objects/floatobject.c2
-rw-r--r--Objects/intobject.c2
-rw-r--r--Objects/stringobject.c6
-rw-r--r--Objects/tupleobject.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/Objects/bufferobject.c b/Objects/bufferobject.c
index 690f56b..c0e3c80 100644
--- a/Objects/bufferobject.c
+++ b/Objects/bufferobject.c
@@ -138,7 +138,7 @@ PyBuffer_New(int size)
"size must be zero or positive");
return NULL;
}
- /* PyObject_New is inlined */
+ /* Inline PyObject_New */
o = PyObject_MALLOC(sizeof(*b) + size);
if ( o == NULL )
return PyErr_NoMemory();
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index ba1e3cc..bb28354 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -199,7 +199,7 @@ PyComplex_FromCComplex(Py_complex cval)
{
register PyComplexObject *op;
- /* PyObject_New is inlined */
+ /* Inline PyObject_New */
op = (PyComplexObject *) PyObject_MALLOC(sizeof(PyComplexObject));
if (op == NULL)
return PyErr_NoMemory();
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 2787a0a..36e861e 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -64,7 +64,7 @@ PyFloat_FromDouble(double fval)
if ((free_list = fill_free_list()) == NULL)
return NULL;
}
- /* PyObject_New is inlined */
+ /* Inline PyObject_New */
op = free_list;
free_list = (PyFloatObject *)op->ob_type;
PyObject_INIT(op, &PyFloat_Type);
diff --git a/Objects/intobject.c b/Objects/intobject.c
index 2cda031..1b852c2 100644
--- a/Objects/intobject.c
+++ b/Objects/intobject.c
@@ -113,7 +113,7 @@ PyInt_FromLong(long ival)
if ((free_list = fill_free_list()) == NULL)
return NULL;
}
- /* PyObject_New is inlined */
+ /* Inline PyObject_New */
v = free_list;
free_list = (PyIntObject *)v->ob_type;
PyObject_INIT(v, &PyInt_Type);
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)
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index 678aeb1..4c52de3 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -48,7 +48,7 @@ PyTuple_New(register int size)
#ifdef COUNT_ALLOCS
fast_tuple_allocs++;
#endif
- /* PyObject_InitVar is inlined */
+ /* Inline PyObject_InitVar */
#ifdef Py_TRACE_REFS
op->ob_size = size;
op->ob_type = &PyTuple_Type;