From d852e997f4117f30b62874cdbfc28e93ee3804c4 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 20 Mar 2014 06:42:31 -0700 Subject: [PATCH] Clean-up docstring --- Lib/collections/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py index 02bdc57c9fe..d6deb6a7b26 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):