Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove mentions of old Python versions in typing.NamedTuple docstring #104943

Copy link
Copy link
Closed
@tomasr8

Description

@tomasr8
Issue body actions

Documentation

This came up in this PR
In typing.NamedTuple there are some mentions to Python 3.5 & 3.6 which can be removed:

Usage in Python versions >= 3.6::

cpython/Lib/typing.py

Lines 2729 to 2731 in bd1b622

In Python versions <= 3.5 use::
Employee = NamedTuple('Employee', [('name', str), ('id', int)])

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.