Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e3a8e7e

Browse files
committed
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.
1 parent 056fbf4 commit e3a8e7e

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

Objects/bufferobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ PyBuffer_New(int size)
138138
"size must be zero or positive");
139139
return NULL;
140140
}
141-
/* PyObject_New is inlined */
141+
/* Inline PyObject_New */
142142
o = PyObject_MALLOC(sizeof(*b) + size);
143143
if ( o == NULL )
144144
return PyErr_NoMemory();

Objects/complexobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ PyComplex_FromCComplex(Py_complex cval)
199199
{
200200
register PyComplexObject *op;
201201

202-
/* PyObject_New is inlined */
202+
/* Inline PyObject_New */
203203
op = (PyComplexObject *) PyObject_MALLOC(sizeof(PyComplexObject));
204204
if (op == NULL)
205205
return PyErr_NoMemory();

Objects/floatobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ PyFloat_FromDouble(double fval)
6464
if ((free_list = fill_free_list()) == NULL)
6565
return NULL;
6666
}
67-
/* PyObject_New is inlined */
67+
/* Inline PyObject_New */
6868
op = free_list;
6969
free_list = (PyFloatObject *)op->ob_type;
7070
PyObject_INIT(op, &PyFloat_Type);

Objects/intobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ PyInt_FromLong(long ival)
113113
if ((free_list = fill_free_list()) == NULL)
114114
return NULL;
115115
}
116-
/* PyObject_New is inlined */
116+
/* Inline PyObject_New */
117117
v = free_list;
118118
free_list = (PyIntObject *)v->ob_type;
119119
PyObject_INIT(v, &PyInt_Type);

Objects/stringobject.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ PyString_FromStringAndSize(const char *str, int size)
6262
return (PyObject *)op;
6363
}
6464

65-
/* PyObject_NewVar is inlined */
65+
/* Inline PyObject_NewVar */
6666
op = (PyStringObject *)
6767
PyObject_MALLOC(sizeof(PyStringObject) + size * sizeof(char));
6868
if (op == NULL)
@@ -118,7 +118,7 @@ PyString_FromString(const char *str)
118118
return (PyObject *)op;
119119
}
120120

121-
/* PyObject_NewVar is inlined */
121+
/* Inline PyObject_NewVar */
122122
op = (PyStringObject *)
123123
PyObject_MALLOC(sizeof(PyStringObject) + size * sizeof(char));
124124
if (op == NULL)
@@ -878,7 +878,7 @@ string_concat(register PyStringObject *a, register PyObject *bb)
878878
return (PyObject *)a;
879879
}
880880
size = a->ob_size + b->ob_size;
881-
/* PyObject_NewVar is inlined */
881+
/* Inline PyObject_NewVar */
882882
op = (PyStringObject *)
883883
PyObject_MALLOC(sizeof(PyStringObject) + size * sizeof(char));
884884
if (op == NULL)

Objects/tupleobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PyTuple_New(register int size)
4848
#ifdef COUNT_ALLOCS
4949
fast_tuple_allocs++;
5050
#endif
51-
/* PyObject_InitVar is inlined */
51+
/* Inline PyObject_InitVar */
5252
#ifdef Py_TRACE_REFS
5353
op->ob_size = size;
5454
op->ob_type = &PyTuple_Type;

PC/_winreg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ PyHKEY_FromHKEY(HKEY h)
606606
{
607607
PyHKEYObject *op;
608608

609-
/* PyObject_New is inlined */
609+
/* Inline PyObject_New */
610610
op = (PyHKEYObject *) PyObject_MALLOC(sizeof(PyHKEYObject));
611611
if (op == NULL)
612612
return PyErr_NoMemory();

0 commit comments

Comments
 (0)