Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open Beginner friendly
#634 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
jupyter-notebook, python

Research direction

The file to edit is lectures/names.md. Look at line 336 to change __builtin__ to builtins and line 229 to change run to %run. Verify the changes by checking the context around those lines. After editing, you can run a quick test by viewing the markdown to ensure the corrections are in place.

Written by the indexing model from the issue text.

Description

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.

Dominant language
JavaScript
Stars
72
Forks
31
Avg merge
4d 11h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from QuantEcon/lecture-python-programming

All issues in QuantEcon/lecture-python-programming

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.