Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Remove mentions of old Python versions intyping.NamedTuple docstring #104943

Closed
Labels
@tomasr8

Description

@tomasr8

Documentation

This came up in thisPR
Intyping.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 inbd1b622

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp