New submission from Matthias welp:
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)])`.
----------
assignee: docs@python
components: Documentation
messages: 254511
nosy: Matthias welp, docs@python
priority: normal
severity: normal
status: open
title: spelling mistake - 26.1 typing
type: enhancement
versions: Python 3.5
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25603>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com