Skip to content

Commit 0ef2618

Browse files
fix typo
1 parent 912e4bc commit 0ef2618

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/typevarobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ PyTypeObject _PyNoDefault_Type = {
123123

124124
PyObject _Py_NoDefaultStruct = _PyObject_HEAD_INIT(&_PyNoDefault_Type);
125125

126-
/* NoExtraItems: a marker object for TypeDict extra_items when it's unset. */
126+
/* NoExtraItems: a marker object for TypeDict extra_items when its unset. */
127127

128128
static PyObject *
129129
NoExtraItems_repr(PyObject *op)
@@ -157,7 +157,7 @@ noextraitems_dealloc(PyObject *obj)
157157
{
158158
/* This should never get called, but we also don't want to SEGV if
159159
* we accidentally decref NoExtraItems out of existence. Instead,
160-
* since NoDefault is an immortal object, re-set the reference count.
160+
* since NoExtraItems is an immortal object, re-set the reference count.
161161
*/
162162
_Py_SetImmortal(obj);
163163
}

0 commit comments

Comments
 (0)