python-cheatsheet icon indicating copy to clipboard operation
python-cheatsheet copied to clipboard

Add Modern Python Features section (3.10+)

Open xingarr opened this issue 1 month ago • 0 comments

  • Add comprehensive coverage of Python 3.10+ features
  • Include structural pattern matching examples
  • Add union type operator syntax (X | Y)
  • Document exception groups and except*
  • Add TOML support (tomllib) examples
  • Expand type hints with modern syntax
  • Include walrus operator patterns
  • Add context managers best practices
  • Document Task Groups for async programming
  • Add Type Parameter Syntax (Python 3.12+)
  • Include improved error messages documentation

This enhancement keeps the cheatsheet current with modern Python versions and fills important gaps in coverage.

xingarr avatar Nov 04 '25 14:11 xingarr