]> granicus.if.org Git - python/commitdiff
Clean-up docstring
authorRaymond Hettinger <python@rcn.com>
Thu, 20 Mar 2014 13:42:31 +0000 (06:42 -0700)
committerRaymond Hettinger <python@rcn.com>
Thu, 20 Mar 2014 13:42:31 +0000 (06:42 -0700)
Lib/collections/__init__.py

index 02bdc57c9feeeed7488ccc37d62ebf08a85a757e..d6deb6a7b2621ae4e1fd07b46749fa54eea18822 100644 (file)
@@ -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):