python / python/cpython

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

Offen
#156,233 12 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

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

Beschreibung

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

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.

Rechercherichtung

Beginnen Sie mit der Dokumentationsseite unter docs.python.org/3/howto/mro.html#python-2-3-mro und prüfen Sie die gemeldete Grammatikkorrektur. Lesen Sie anschließend den Issue-Kommentar zu den zusätzlich gemeldeten Tippfehlern und Fehlern in Codeausschnitten; die Arbeit ist abgeschlossen, wenn die dokumentierten Fehler korrigiert sind, obwohl die verknüpften PRs darauf hinweisen, dass die Korrekturen bereits in Arbeit sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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