[Python-checkins] cpython (3.4): Clean-up docstring

raymond.hettinger python-checkins at python.org
Thu Mar 20 14:44:43 CET 2014


http://hg.python.org/cpython/rev/3cdb5ceb30d1
changeset:   89879:3cdb5ceb30d1
branch:      3.4
parent:      89877:f27f594a96c3
user:        Raymond Hettinger <python at rcn.com>
date:        Thu Mar 20 06:42:31 2014 -0700
summary:
  Clean-up docstring

files:
  Lib/collections/__init__.py |  4 +---
  1 files changed, 1 insertions(+), 3 deletions(-)


diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
--- a/Lib/collections/__init__.py
+++ b/Lib/collections/__init__.py
@@ -274,9 +274,7 @@
         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):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list