Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[names] `__builtin__` is the Python 2 module name; IPython's `run` should be `%run`

オープン 初心者向け
#634 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
90/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
jupyter-notebook, python

調査の方向性

編集するファイルは 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

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

QuantEcon/lecture-python-programming のほかの issue

QuantEcon/lecture-python-programming の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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