python / python/cpython

Reword the Lexical Analysis chapter of the docs

Đang mở
#135,676 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@encukou đang làm issue này rồi.

Từ ngày 18/6/2025.

docs
Ngôn ngữ chính
Python
Star
77.2k
Fork
35.9k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.