[New-bugs-announce] [issue25603] spelling mistake - 26.1 typing

Matthias welp report at bugs.python.org
Wed Nov 11 21:52:55 EST 2015

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 at python
components: Documentation
messages: 254511
nosy: Matthias welp, docs at python
priority: normal
severity: normal
status: open
title: spelling mistake - 26.1 typing
type: enhancement
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list