commit | 8f7649eae4194c3ed5407714300a1da1daf8bee0 | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Sun Sep 13 04:48:45 2009 +0000 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Sun Sep 13 04:48:45 2009 +0000 |
tree | 8c37d96adae2e33a8ed09d2dc885e93089a462b7 | |
parent | 6aa7c8ce3ce0ef942956ee4cf3563082d53f0d75 [diff] [blame] |
more list()s on dictviews
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index 2d0f48a..2aa3ae1 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst
@@ -701,8 +701,7 @@ instead. Another is to do :: - >>> d = foo().items() - >>> d.sort() + >>> d = sorted(foo().items()) >>> d [('Harry', 'broomstick'), ('Hermione', 'hippogryph')]