summaryrefslogtreecommitdiffstats
path: root/Objects/odictobject.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-07-06 12:08:43 (GMT)
committerGitHub <noreply@github.com>2018-07-06 12:08:43 (GMT)
commite544d65aae974bc5d094c5d3224373f5a59b16f1 (patch)
tree6e191864ab4426821506497392aee91a629c9bee /Objects/odictobject.c
parent11c36a3e16f7fd4e937466014e8393ede4b61a25 (diff)
downloadcpython-e544d65aae974bc5d094c5d3224373f5a59b16f1.zip
cpython-e544d65aae974bc5d094c5d3224373f5a59b16f1.tar.gz
cpython-e544d65aae974bc5d094c5d3224373f5a59b16f1.tar.bz2
fix two typos in Objects/odictobject.c comments (GH-8040)
(cherry picked from commit 6f19fc6d5607040ee36153a64a2ed004582af91f) Co-authored-by: Robert Krzyzanowski <technoguyrob@gmail.com>
Diffstat (limited to 'Objects/odictobject.c')
-rw-r--r--Objects/odictobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/odictobject.c b/Objects/odictobject.c
index 65f90e8..26f1579 100644
--- a/Objects/odictobject.c
+++ b/Objects/odictobject.c
@@ -67,7 +67,7 @@ Linked-List API
As noted, the linked-list implemented here does not have all the bells and
whistles. However, we recognize that the implementation may need to
change to accommodate performance improvements or extra functionality. To
-that end, We use a simple API to interact with the linked-list. Here's a
+that end, we use a simple API to interact with the linked-list. Here's a
summary of the methods/macros:
Node info:
@@ -444,7 +444,7 @@ Potential Optimizations
- Set node->key to NULL to indicate the node is not-in-use.
- Add _odict_EXISTS()?
- How to maintain consistency across resizes? Existing node pointers
- would be invalidate after a resize, which is particularly problematic
+ would be invalidated after a resize, which is particularly problematic
for the iterators.
* Use a more stream-lined implementation of update() and, likely indirectly,
__init__().