python / python/cpython

Reword the Expressions chapter of the docs

Đang mở
#141,984 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 26/11/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ả

Continuing after https://github.com/python/cpython/issues/127833 and #135676, I'd like to reword and restructure the Expressions 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.)

Linked PRs
  • gh-141985
  • gh-144117
  • gh-144476
  • gh-144959
  • gh-144964
  • gh-148622
  • gh-150517
  • gh-150518
  • gh-150552
  • gh-151261
  • gh-151267
  • gh-154884
  • gh-156836
  • gh-157225
  • gh-157271
  • gh-157272

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.