From fe2f2876cea08f0d0c288def5f9b970c1139fe5f Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 30 Aug 2015 14:48:42 -0700 Subject: Make an example a little clearer --- Doc/library/collections.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index e08eb51..3c4c128 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -696,6 +696,7 @@ field names, the method and attribute names start with an underscore. 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)]) -- cgit v0.12