Skip to content

One-shot typing update to Python 3.12

Daniel Lyons requested to merge update-typechecking-to-python-312-retry into main

Changes:

  • List -> list
  • DefaultDict -> defaultdict
  • Dict -> dict
  • Tuple -> tuple
  • Optional[X] -> X | None
  • Union[X, Y] -> X | Y
Edited by Daniel Lyons

Merge request reports