summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2018-04-20 20:08:45 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2018-04-20 20:08:45 (GMT)
commit61f82e0e337f971da57f8f513abfe693edf95aa5 (patch)
treed783b7677df1f57618381c0b7c925a990a115444 /Objects/dictobject.c
parent0399cf9b5e370516e3d0aed6a63ff74aff5eadb5 (diff)
downloadcpython-61f82e0e337f971da57f8f513abfe693edf95aa5.zip
cpython-61f82e0e337f971da57f8f513abfe693edf95aa5.tar.gz
cpython-61f82e0e337f971da57f8f513abfe693edf95aa5.tar.bz2
Spelling fixes to docs, docstrings, and comments (GH-6374)
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index acf757c..7a1bceb 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2573,7 +2573,7 @@ PyDict_Copy(PyObject *o)
(3) if 'mp' is non-compact ('del' operation does not resize dicts),
do fast-copy only if it has at most 1/3 non-used keys.
- The last condition (3) is important to guard against a pathalogical
+ The last condition (3) is important to guard against a pathological
case when a large dict is almost emptied with multiple del/pop
operations and copied after that. In cases like this, we defer to
PyDict_Merge, which produces a compacted copy.