From: Raymond Hettinger Date: Sat, 25 Jun 2011 09:39:00 +0000 (+0200) Subject: Fix typo (reported by Hiro Ashiya). X-Git-Tag: v3.2.1rc2~57^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d5208d2e2fc28bd400623f44b7267f4a04fb635;p=thirdparty%2FPython%2Fcpython.git Fix typo (reported by Hiro Ashiya). --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 0b45fe123dff..4975f7477065 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -821,10 +821,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