[names] `__builtin__` is the Python 2 module name; IPython's `run` should be `%run`
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 90/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- jupyter-notebook, python
- 領域
- content, documentation
調査の方向性
編集するファイルは lectures/names.md です。336行目で __builtin__ を builtins に変更し、229行目で run を %run に変更します。変更箇所の前後の文脈を確認して、変更を検証してください。編集後、マークダウンを表示して修正が反映されていることを確認する簡単なテストを実行できます。
索引モデルが issue の本文から書いたものです。
説明
Two small inaccuracies in lectures/names.md, found during native-editor review of the French edition (see QuantEcon/lecture-python-programming.fr#80, which corrected both in French). Checked at b0b0b56.
__builtin__ is the Python 2 module name. Line 336 says the built-in definitions "are stored in a module called __builtin__". Python 3.0 renamed that module builtins (What's New in Python 3.0), and import __builtin__ raises ModuleNotFoundError on current Python. Suggested: "These definitions are provided by the builtins module."
run vs %run. Line 229 says "When we run a script using IPython's run command", while the cells at lines 245 and 446 use the %run magic. Bare run only works because automagic is on by default (IPython magics); %run matches the code.
Why it is worth doing soon: until the English agrees, a translation sync that touches the adjacent bullet can revert the French builtins correction (it did in 3 of 3 simulations against the current engine). The Chinese and Persian editions carry both as written.
- 主要言語
- JavaScript
- スター
- 72
- フォーク
- 31
- 平均マージ
- 4日 11時間
- マージ済み PR(30日)
- 5
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
QuantEcon/lecture-python-programming のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
QuantEcon/lecture-python-programming#607 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
QuantEcon/lecture-python-programming#622 · コメント 4 件 ·
QuantEcon/lecture-python-programming の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
palladius/rails8-app-on-gcp#145 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dotenvx/dotenv-vscode#139 ·
-
test-change-proposal
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
web-platform-tests/interop#1455 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
corsairdev/corsair#1764 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100