diff options
author | Raymond Hettinger <python@rcn.com> | 2011-06-25 09:39:42 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-06-25 09:39:42 (GMT) |
commit | f68f7148d103c2734f025a532fcd87986539d268 (patch) | |
tree | 8da9748a18991e231aa57d0d5aa51392fa881abf /Doc | |
parent | 12fb2f41f06e2ef084fffb23688ba21e52e3e012 (diff) | |
parent | 4d5208d2e2fc28bd400623f44b7267f4a04fb635 (diff) | |
download | cpython-f68f7148d103c2734f025a532fcd87986539d268.zip cpython-f68f7148d103c2734f025a532fcd87986539d268.tar.gz cpython-f68f7148d103c2734f025a532fcd87986539d268.tar.bz2 |
Fix typo (reported by Hiro Ashiya).
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/collections.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 39a03dd..f344b5a 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -900,10 +900,10 @@ the items are returned in the order their keys were first added. >>> d = OrderedDict.fromkeys('abcde') >>> d.move_to_end('b') - >>> ''.join(d.keys) + >>> ''.join(d.keys()) 'acdeb' >>> d.move_to_end('b', last=False) - >>> ''.join(d.keys) + >>> ''.join(d.keys()) 'bacde' .. versionadded:: 3.2 |