Fixed English in a comment; trimmed trailing whitespace;

no code changes.
This commit is contained in:
Tim Peters 2006-01-01 01:19:23 +00:00
parent 0cdc3d884e
commit 60b29961dc

View file

@ -519,10 +519,10 @@ PyDict_GetItem(PyObject *op, PyObject *key)
} }
/* CAUTION: PyDict_SetItem() must guarantee that it won't resize the /* CAUTION: PyDict_SetItem() must guarantee that it won't resize the
* dictionary if it is merely replacing the value for an existing key. * dictionary if it's merely replacing the value for an existing key.
* This is means that it's safe to loop over a dictionary with * This means that it's safe to loop over a dictionary with PyDict_Next()
* PyDict_Next() and occasionally replace a value -- but you can't * and occasionally replace a value -- but you can't insert new keys or
* insert new keys or remove them. * remove them.
*/ */
int int
PyDict_SetItem(register PyObject *op, PyObject *key, PyObject *value) PyDict_SetItem(register PyObject *op, PyObject *key, PyObject *value)