Document __lazy_import__

Offen
#161,708 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
58/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
python
Bereich
documentation

Rechercherichtung

The issue names three doc pages to update: the builtin functions page, the Python 3.15 What's New lazy-imports section, and the importlib reference. Start by reading the existing What's New lazy-imports entry and the builtins page to see how the feature is already described, then check the one comment for the agreed scope. Done means __lazy_import__ has an entry on the builtins page with a short cross-reference from the other two pages, and the Sphinx docs build without warnings.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

docs topic-lazy-imports
Documentation

The docs don't seem to document the new global __lazy_import__. I propose documenting it in builtin functions page, and possibly What's New and/or importlib.

Linked PRs
  • gh-161762
Vorherrschende Sprache
Python
Sterne
78.2k
Forks
36.6k
Ø Merge
19 Std. 57 Min.
Gemergte PRs (30 T.)
630

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python/cpython

Alle Issues in python/cpython

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

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