summaryrefslogtreecommitdiffstats
path: root/Lib/collections/__init__.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2014-03-20 13:42:31 (GMT)
committerRaymond Hettinger <python@rcn.com>2014-03-20 13:42:31 (GMT)
commitd852e997f4117f30b62874cdbfc28e93ee3804c4 (patch)
treec922b7d39e4048b331f84a2d1d5a1013f235feaa /Lib/collections/__init__.py
parentb1698d4030111d289c4f13f264f9ace2ce9dfa0a (diff)
downloadcpython-d852e997f4117f30b62874cdbfc28e93ee3804c4.zip
cpython-d852e997f4117f30b62874cdbfc28e93ee3804c4.tar.gz
cpython-d852e997f4117f30b62874cdbfc28e93ee3804c4.tar.bz2
Clean-up docstring
Diffstat (limited to 'Lib/collections/__init__.py')
-rw-r--r--Lib/collections/__init__.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
index 02bdc57..d6deb6a 100644
--- a/Lib/collections/__init__.py
+++ b/Lib/collections/__init__.py
@@ -274,9 +274,7 @@ class {typename}(tuple):
return OrderedDict(zip(self._fields, self))
def _asdict(self):
- '''Return a new OrderedDict which maps field names to their values.
- This method is obsolete. Use vars(nt) or nt.__dict__ instead.
- '''
+ 'Return a new OrderedDict which maps field names to their values.'
return self.__dict__
def __getnewargs__(self):