GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove mentions of old Python versions in `typing.NamedTuple` docstring · Issue #104943 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove mentions of old Python versions in typing.NamedTuple docstring#104943
Copy link
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirtopic-typing

Description

@tomasr8
tomasr8
opened on May 25, 2023
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:

cpython/Lib/typing.py

Line 2712 in bd1b622

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

  • gh-104943: Remove mentions of old Python versions #104945
  • [3.11] gh-104943: Remove mentions of old Python versions (GH-104945) #104962
  • [3.12] gh-104943: Remove mentions of old Python versions (GH-104945) #104963

Activity

  1. tomasr8
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on May 25, 2023
  2. AlexWaygood
    added
    topic-typing
    on May 25, 2023
  3. hauntsaninja
    added a commit that references this issue on May 26, 2023

    gh-104943: Remove mentions of old Python versions (#104945)

    46857d0
  4. miss-islington
    added 2 commits that reference this issue on May 26, 2023

    pythongh-104943: Remove mentions of old Python versions (pythonGH-104945

    da3a3d0

    pythongh-104943: Remove mentions of old Python versions (pythonGH-104945

    b0c9bfa
  5. hauntsaninja
    added 2 commits that reference this issue on May 26, 2023

    [3.11] gh-104943: Remove mentions of old Python versions (GH-104945) (#…

    1342474

    [3.12] gh-104943: Remove mentions of old Python versions (GH-104945) (#…

    6324458
  6. sobolevn
    closed this as completedon May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirDocumentation in the Doc dirtopic-typing

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.