Message312994
See https://docs.python.org/2/library/collections.html#collections.namedtuple
namedtuple is called as:
collections.namedtuple(typename, field_names[, verbose=False][, rename=False])
So you are passing in
typename = 'Name'
field_names = 'a'
verbose = 'b'
rename = 'c'
'b' is a True value, so that's why it's showing the output.
You want to be using:
sample = namedtuple('Name', ['a', 'b', 'c']) |
|
Date |
User |
Action |
Args |
2018-02-27 10:37:05 | eric.smith | set | recipients:
+ eric.smith, rhettinger, terry.reedy, poornaprudhvi |
2018-02-27 10:37:05 | eric.smith | set | messageid: <1519727825.07.0.467229070634.issue32961@psf.upfronthosting.co.za> |
2018-02-27 10:37:05 | eric.smith | link | issue32961 messages |
2018-02-27 10:37:04 | eric.smith | create | |
|