Skip to content

Sync python-dicts with the updated tutorial - #906

Merged
realpython-bot merged 2 commits into
masterfrom
maintenance/python-dicts-20261021
Oct 21, 2026
Merged

realpython-bot merged 2 commits into
masterfrom
maintenance/python-dicts-20261021

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Syncs python-dicts with the maintenance update of Dictionaries in Python.

  • dict_zip.py: match the article's example (places), and drop zip(..., strict=False), which requires Python 3.10 and broke the 3.9 floor.
  • membership.py: number=1_000_000, as in the article.
  • README.md: state the Python 3.9+ floor (the article's minimum-python).

Verified: all 16 scripts run on Python 3.14.6 and 3.9.25; ruff 0.14.1 format/check and dircheck.py pass.

Credit: Martin Breuss (maintenance pipeline owner).

🤖 Generated with Claude Code

realpython-bot and others added 2 commits October 21, 2026 15:35
- dict_zip.py: match the article's zip() example (places/teams) and drop
  zip(strict=False), which needs Python 3.10 and broke the 3.9 floor
- membership.py: use 1_000_000 as in the article's script
- README.md: state the Python 3.9 floor (dict | and |=)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@realpython-bot
realpython-bot merged commit 6734067 into master Oct 21, 2026
1 check passed
@realpython-bot
realpython-bot deleted the maintenance/python-dicts-20261021 branch October 21, 2026 15:43
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