summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/namedtuple1.py
Commit message (Collapse)AuthorAge
* py/objnamedtuple: Allow passing field names as a tuple.Antonin ENFRUN2016-05-23
| | | | | So the documentation's example works. Besides, a tuple can be more memory efficient.
* tests: Update for _io/_collections module having been renamed.Paul Sokolovsky2016-05-02
|
* tests: Add some more tests to improve code coverage of corner cases.Damien George2015-04-05
|
* py: Allow keyword arguments for namedtuplestijn2015-01-01
|
* py: Use sequence of strings for named tuple initializationstijn2015-01-01
| | | | | | - remove single string initialization style - take list of strings instead - store list in the type for fast lookup
* objnamedtuple: Support iteration.Paul Sokolovsky2014-05-10
|
* py: Rename collections module to _collections.Paul Sokolovsky2014-04-13
| | | | | We're not going to implement all the plethora of types in there in C. Funnily, CPython implements defaultdict in C, and namedtuple in Python.
* namedtuple: Inherit unary/binary ops from tuple base class.Paul Sokolovsky2014-03-03
|
* Add basic collections.namedtuple implementation.Paul Sokolovsky2014-03-03