python / python/cpython

Docs: problem with page "__future__ — Future statement definitions"

オープン
#154,559 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

docs
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

Documentation

The page at https://docs.python.org/3/library/__future__.html has a problem:

"__future__.annotations | Never: PEP 563: Postponed evaluation of annotations, PEP 649: Deferred evaluation of annotations using descriptors"

This is incorrect though innit?

Isn't it "mandatory" in 3.14 - https://docs.python.org/3/reference/compound_stmts.html#annotations?

EDIT: Re-reading both the pages I think I was mistaken - but the page should still link to https://docs.python.org/3/reference/compound_stmts.html#annotations I suppose.

Linked PRs
  • gh-154608

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

future のドキュメントページにある future.annotations エントリを、言語リファレンスからリンクされている annotations セクションと比較してください。報告されている修正は、適切であればそのリファレンスリンクを追加することです。issue gh-154608 はすでにリンクされているため、開始する前にそのステータスを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
documentation
issue の種類
ドキュメント
難易度
1/5
見積もり時間
1時間未満
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。