python / python/cpython

A few typos, grammar mistakes, and code snippet errors in the docs

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

Chưa có ai nhận issue này.

docs easy
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

(UPDATE: Added multiple suspected errors in code snippets in the documentation and another typo to this initial report in https://github.com/python/cpython/issues/156233#issuecomment-5435277380 as I was OK'd to open a PR but encouraged to expand the scope before sending a fix.)

Hello Python team,

this is just a typo so I know an issue is not required, but I hope you won't mind if I open one in case someone else wants to include it in a larger typo cleanup PR they are already doing (if no one picks it up after some time and I don't find other typos, I can send a PR).

In the latest version of https://docs.python.org/3/howto/mro.html#python-2-3-mro (archived as is at https://web.archive.org/web/20260822145356/https://docs.python.org/3/howto/mro.html#python-2-3-mro )

  • In the sentence

    Then repeat the operation until all the class are removed or it is impossible to find good heads.

    it seems "all the class" should be "all the classes".

Thanks so much!

Linked PRs
  • gh-156320
  • gh-156475
  • gh-157177
  • gh-157221
  • gh-157222
  • gh-157223
  • gh-157386

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.

Hướng nghiên cứu

Bắt đầu với trang tài liệu tại docs.python.org/3/howto/mro.html#python-2-3-mro và xem lại phần sửa lỗi ngữ pháp đã được báo cáo. Sau đó đọc bình luận của issue về các lỗi chính tả và lỗi trong các đoạn mã được bổ sung; công việc hoàn tất khi các lỗi đã được ghi nhận được sửa, mặc dù các PR được liên kết cho thấy các bản sửa lỗi đã được tiến hành.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/100

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.