Reference Highlights Summary
Every highlight bullet from the 12 pages in this section, gathered on one page and grouped by the page it came from.
- f-string Formatting
- Unpacking Assignment
- Walrus Operator
- enumerate zip
- any all
- dict get setdefault
- dict merge pipe
- set operations
- list slice copy
- defaultdict Counter
- Keyword Only Args
- args kwargs
- closure late binding
- decorator Basics
- functools partial
- dataclass fields
- property getter
- classmethod factory
- dataclass slots
- Protocol structural
- generator Function
- yield from
- itertools islice
- generator expression
- send throw close
- try except else
- raise from
- ExceptionGroup
- contextlib contextmanager
- suppress ignore
- import forms
- package init exports
- relative imports
- if name main
- pyproject scripts
- async def await
- create_task
- gather return_exceptions
- wait_for timeout
- asyncio Queue
- Path join operator
- read_text write_text
- glob rglob
- mkdir parents
- tempfile TemporaryDirectory
- json loads dumps
- datetime timezone
- logging basicConfig
- argparse CLI
- subprocess run
- builtin generics
- Optional union pipe
- TypeVar bound
- TypedDict
- TYPE_CHECKING
- assert rewrite
- fixture scope
- parametrize cases
- monkeypatch env
- pytest raises
Reviewed by Chris St. John·Last updated Jul 31, 2026