Skip to content

Add python-super materials folder - #1001

Open
realpython-bot wants to merge 1 commit into
masterfrom
maintenance/python-super-20261204
Open

realpython-bot wants to merge 1 commit into
masterfrom
maintenance/python-super-20261204

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Adds companion code for the updated tutorial Supercharge Your Classes With Python super() (realpython.com/python-super/).

  • One script per tutorial section: shapes.py, single_inheritance.py, super_deep_dive.py, multiple_inheritance.py, cooperative.py, mixin.py. REPL echoes are print() calls; the intentional AttributeError from .area_2() is caught and printed.
  • Code mirrors the update draft: https://realpython.com/pbjt/blog/post/2473/change/
  • Card: https://trello.com/c/iMnY1PCz
  • Verified: every script runs on Python 3.15.2 and 3.14.10, and the output matches the article's REPL sessions. Standard library only. ruff@0.14.1 format --check, ruff check, and dircheck.py pass.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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