The ``Position`` class and some other support classes do not need to be re-created for each parser. Putting them in a shared library allows for use with type hints in AST modules without running into trouble with circular imports.
The
Positionclass and some other support classes do not need to be re-created for each parser.Putting them in a shared library allows for use with type hints in AST modules without running into trouble with circular imports.