add NamedTuple accessors to KeyedTuple
Issue #2601
resolved
including _fields, _asdict().
Comments (4)
-
Account Deleted -
Account Deleted (original author: diana) namedtuple._asdict() returns an OrderedDict instead of a regular dict as of Python 2.7. I just went with a regular dict for KeyedTuple._asdict(). Let me know if you want something different.
I think this is done, unless you want it documented somewhere, or changed. Let me know Thanks!
-
reporter - changed status to resolved
docs and other niceties in 7443d50d3102e345a367afea9019feb2d8c0c5a3. thanks !
-
reporter - removed milestone
Removing milestone: 0.8.0final (automated comment)
- Log in to comment
(original author: diana) e469529a1dd01f58eca2291eff3f38fe61c1175e dbdd0fdd48bc0baf13a614fd193ad4fd6f697840 40071dbda4c2467f10a1ef217ce1d6e64058fba3
40071dbda4c2467f10a1ef217ce1d6e64058fba3 is not backwards compatible, but I'm pretty sure it doesn't matter. let me know if you think otherwise. thanks!