Skip to content

Update python-built-in-functions sample code#762

Open
lpozo wants to merge 2 commits intomasterfrom
python-built-in-functions-update
Open

Update python-built-in-functions sample code#762
lpozo wants to merge 2 commits intomasterfrom
python-built-in-functions-update

Conversation

@lpozo
Copy link
Copy Markdown
Contributor

@lpozo lpozo commented Apr 28, 2026

Two small naming fixes in python-built-in-functions/:

  • fibonacci.py: rename class Fibonaccish to class Fibonacci. This aligns the sample with the upcoming update of Python Built-in Functions: A Complete Guide, which uses Fibonacci throughout the prose and code blocks.
  • shapes.py: rename the Square.__init__ parameter from length to side. This matches the currently-published tutorial (which already uses side in the Square example) and is more semantically accurate.

No other changes; the rest of each file is byte-identical to master.

lpozo added 2 commits April 28, 2026 17:57
- fibonacci.py: rename class Fibonaccish to Fibonacci
- shapes.py: rename Square parameter length to side
@lpozo lpozo changed the title Fix naming in python-built-in-functions samples Update python-built-in-functions sample code Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant