Message254511
Almost at the end of the page, under Usage of Typing.NamedTuple(...), this code snippet occurs: `Employee = typing.NamedTuple('Employee', [('name', str), 'id', int)])`. Unfortunately, this has an error in its parenthesis.
This can easily be fixed by adding an opening bracket before the `'id'`-part, as seen here: `Employee = typing.NamedTuple('Employee', [('name', str), ('id', int)])`. |
|
Date |
User |
Action |
Args |
2015-11-12 02:52:55 | Matthias v/d Meent | set | recipients:
+ Matthias v/d Meent, docs@python |
2015-11-12 02:52:55 | Matthias v/d Meent | set | messageid: <1447296775.39.0.293549670767.issue25603@psf.upfronthosting.co.za> |
2015-11-12 02:52:55 | Matthias v/d Meent | link | issue25603 messages |
2015-11-12 02:52:54 | Matthias v/d Meent | create | |
|