mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
Clean-up docstring
This commit is contained in:
parent
b1698d4030
commit
d852e997f4
1 changed files with 1 additions and 3 deletions
|
@ -274,9 +274,7 @@ class {typename}(tuple):
|
||||||
return OrderedDict(zip(self._fields, self))
|
return OrderedDict(zip(self._fields, self))
|
||||||
|
|
||||||
def _asdict(self):
|
def _asdict(self):
|
||||||
'''Return a new OrderedDict which maps field names to their values.
|
'Return a new OrderedDict which maps field names to their values.'
|
||||||
This method is obsolete. Use vars(nt) or nt.__dict__ instead.
|
|
||||||
'''
|
|
||||||
return self.__dict__
|
return self.__dict__
|
||||||
|
|
||||||
def __getnewargs__(self):
|
def __getnewargs__(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue