python / python/cpython

Reword the Lexical Analysis chapter of the docs

Offen
#135,676 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@encukou arbeitet bereits daran.

Seit 18.6.2025.

docs
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
35.9k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

Documentation

Continuing with #127833, I'd like to reword and restructure the Lexical analysis section of the Reference documentation.

I think I found a style that works: each section will start with the most obvious things, expand toward a complete & precise description, with examples along the way, and end with the formal grammar. (Currently the grammar is usually listed first, and the author of the prose is tempted to assume that the reader has parsed and understood it.)

PRs merged for this before opening this issue:

  • #131468
  • #131474
  • #132407
Linked PRs
  • gh-134850
  • gh-135677
  • gh-135942
  • gh-137048
  • gh-137469
  • gh-137713
  • gh-138194
  • gh-138457
  • gh-139781
  • gh-140464
  • gh-142015
  • gh-142227

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.