RunestoneInteractive / RunestoneInteractive/pythonds

Incorrect number on figure 4.6

Open
#120 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
273
Forks
160
PR merge metrics
No merged PRs in 30d

Description

For figure 4.6, in the recursion chapter, I believe that n should be 2 in the third element of the stack from the bottom (the one which calls to_str(2, 2)). Initially found on pg. 157 of the print edition.

callstack

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.

Research direction

Locate the source for figure 4.6 in the recursion chapter, using the print-edition reference to find the corresponding documentation or image asset. Check the third stack element from the bottom against the shown to_str(2, 2) call, correct the figure if confirmed, and verify that the rendered chapter displays the intended label.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.