mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Fixed English in a comment; trimmed trailing whitespace;
no code changes.
This commit is contained in:
parent
0cdc3d884e
commit
60b29961dc
1 changed files with 11 additions and 11 deletions
|
@ -519,10 +519,10 @@ PyDict_GetItem(PyObject *op, PyObject *key)
|
|||
}
|
||||
|
||||
/* CAUTION: PyDict_SetItem() must guarantee that it won't resize the
|
||||
* dictionary if it is merely replacing the value for an existing key.
|
||||
* This is means that it's safe to loop over a dictionary with
|
||||
* PyDict_Next() and occasionally replace a value -- but you can't
|
||||
* insert new keys or remove them.
|
||||
* dictionary if it's merely replacing the value for an existing key.
|
||||
* This means that it's safe to loop over a dictionary with PyDict_Next()
|
||||
* and occasionally replace a value -- but you can't insert new keys or
|
||||
* remove them.
|
||||
*/
|
||||
int
|
||||
PyDict_SetItem(register PyObject *op, PyObject *key, PyObject *value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue