Skip to content

Commit e544d65

Browse files
fix two typos in Objects/odictobject.c comments (GH-8040)
(cherry picked from commit 6f19fc6) Co-authored-by: Robert Krzyzanowski <[email protected]>
1 parent 11c36a3 commit e544d65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/odictobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Linked-List API
6767
As noted, the linked-list implemented here does not have all the bells and
6868
whistles. However, we recognize that the implementation may need to
6969
change to accommodate performance improvements or extra functionality. To
70-
that end, We use a simple API to interact with the linked-list. Here's a
70+
that end, we use a simple API to interact with the linked-list. Here's a
7171
summary of the methods/macros:
7272
7373
Node info:
@@ -444,7 +444,7 @@ Potential Optimizations
444444
- Set node->key to NULL to indicate the node is not-in-use.
445445
- Add _odict_EXISTS()?
446446
- How to maintain consistency across resizes? Existing node pointers
447-
would be invalidate after a resize, which is particularly problematic
447+
would be invalidated after a resize, which is particularly problematic
448448
for the iterators.
449449
* Use a more stream-lined implementation of update() and, likely indirectly,
450450
__init__().

0 commit comments

Comments
 (0)