Message349159
example_text is not a field, since you're not giving it a type. It's just a normal class member.
The only field in the NamedTuple is example_int. You can't specify any other field in the call to MyTestedTuple().
To see this, help(MyTestedTuple) starts with:
class MyTestedTuple(builtins.tuple)
| MyTestedTuple(example_int: int = 3) |
|
Date |
User |
Action |
Args |
2019-08-07 10:11:52 | eric.smith | set | recipients:
+ eric.smith, PBrudny |
2019-08-07 10:11:52 | eric.smith | set | messageid: <1565172712.05.0.248542452785.issue37782@roundup.psfhosted.org> |
2019-08-07 10:11:52 | eric.smith | link | issue37782 messages |
2019-08-07 10:11:51 | eric.smith | create | |
|