This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: spelling mistake - 26.1 typing
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.6, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Matthias v/d Meent, docs@python, python-dev, zach.ware
Priority: normal Keywords:

Created on 2015-11-12 02:52 by Matthias v/d Meent, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg254511 - (view) Author: Matthias v/d Meent (Matthias v/d Meent) Date: 2015-11-12 02:52
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)])`.
msg254515 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-11-12 05:00
New changeset 81cc0cea2323 by Zachary Ware in branch '3.5':
Issue #25603: Add missing parenthesis.
https://hg.python.org/cpython/rev/81cc0cea2323

New changeset 1af59662f6d5 by Zachary Ware in branch 'default':
Closes #25603: Merge with 3.5
https://hg.python.org/cpython/rev/1af59662f6d5
msg254516 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2015-11-12 05:00
Thanks for the report!
History
Date User Action Args
2022-04-11 14:58:23adminsetgithub: 69789
2015-11-12 05:00:52zach.waresetnosy: + zach.ware

messages: + msg254516
versions: + Python 3.6
2015-11-12 05:00:18python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg254515

resolution: fixed
stage: resolved
2015-11-12 02:52:55Matthias v/d Meentcreate