Kaydet (Commit) ad5e5ea9 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

merge

......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment