Skip to content

Fix comment typos and a misleading variable name in examples#114

Open
shaked-shlomo wants to merge 1 commit into
trekhleb:masterfrom
shaked-shlomo:fix/comment-typos-and-var-name
Open

Fix comment typos and a misleading variable name in examples#114
shaked-shlomo wants to merge 1 commit into
trekhleb:masterfrom
shaked-shlomo:fix/comment-typos-and-var-name

Conversation

@shaked-shlomo
Copy link
Copy Markdown

Three tiny fixes in the example files (no behavior change):

  • src/data_types/test_lists.py# @ee:# @see: in the module docstring (the two lines directly above it already use # @see:).
  • src/data_types/test_lists.py — the list-comprehension over fresh_fruit used weapon as the loop variable: [weapon.strip() for weapon in fresh_fruit]. Renamed to fruit so the example reads correctly.
  • src/user_input/test_input.py@see@see: in the docstring; every other @see: reference in the repo (66 of them) uses a colon, this was the only outlier.

🤖 Generated with Claude Code

- test_lists.py: '# @EE:' -> '# @see:' (matches the two @see: lines above)
- test_lists.py: rename comprehension variable 'weapon' -> 'fruit' to match
  the fresh_fruit list it iterates over
- test_input.py: '@see' -> '@see:' for consistency (every other @see in the
  repo uses a colon)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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