Skip to content

Docs: problem with page "3. An Informal Introduction to Python" #145694

Closed

Description

@ztrbusic

Documentation

The page at https://docs.python.org/3/tutorial/introduction.html has a problem:

The part:
_At the interactive prompt, you have to type a tab or space(s) for each indented line. _

is possibly incorrect or incomplete. On macOS, with Python 3.14, indentation after ":", e.g. while a > 10: happens automatically.

Linked PRs

Activity

  1. StanFromIreland commented on Mar 9, 2026

    @StanFromIreland
    Member

    is possibly incorrect or incomplete.

    It's just old:-) The new repl has such fancy features, previously they weren't available.

  2. added a commit that references this issue on Mar 10, 2026
  3. mvanhorn commented on Mar 10, 2026

    @mvanhorn
    Contributor

    I've submitted a fix for this in PR #145725. Updated the tutorial text to mention PyREPL auto-indent in Python 3.13+ while noting the basic REPL still requires manual indentation.

  4. added a commit that references this issue on Jul 11, 2026
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 dirtopic-replRelated to the interactive shell

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions