[Python-checkins] r70477 - python/trunk/Lib/collections.py
raymond.hettinger
python-checkins at python.org
Fri Mar 20 00:22:25 CET 2009
Author: raymond.hettinger
Date: Fri Mar 20 00:22:25 2009
New Revision: 70477
Log:
Fix typo
Modified:
python/trunk/Lib/collections.py
Modified: python/trunk/Lib/collections.py
==============================================================================
--- python/trunk/Lib/collections.py (original)
+++ python/trunk/Lib/collections.py Fri Mar 20 00:22:25 2009
@@ -23,13 +23,13 @@
# The internal self.__map dictionary maps keys to links in a doubly linked list.
# The doubly linked list starts and ends with a sentinel element.
# The sentinel element never gets deleted. It simplifies the algorithm.
- # Setting a new item cause a new link to append to the doubly linked list.
+ # Setting a new item causes a new link to append to the doubly linked list.
# Deleting an item uses self.__map to find the link, which is then removed.
# Iteration follows the linked list in order.
# Reverse iteration follows the links backwards.
# The inherited dict provides __getitem__, __len__, __contains__, and get.
# The remaining methods are order-aware.
- # Big-Oh running times for all methods is the same as for regular dictionaries.
+ # Big-Oh running times for all methods are the same as for regular dictionaries.
def __init__(self, *args, **kwds):
if len(args) > 1:
More information about the Python-checkins
mailing list