cpython (2.7): Make an example a little clearer
https://hg.python.org/cpython/rev/62a3c600f3cf changeset: 97556:62a3c600f3cf branch: 2.7 parent: 97544:3ef2d694e976 user: Raymond Hettinger <python@rcn.com> date: Sun Aug 30 14:48:42 2015 -0700 summary: Make an example a little clearer files: Doc/library/collections.rst | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -696,6 +696,7 @@ Return a new :class:`OrderedDict` which maps field names to their corresponding values:: + >>> p = Point(x=11, y=22) >>> p._asdict() OrderedDict([('x', 11), ('y', 22)]) -- Repository URL: https://hg.python.org/cpython
participants (1)
-
raymond.hettinger