mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-30 21:03:44 -04:00
Switch to ast.Constant, ast.Num was deprecated in Python 3.8 and removed in Python 3.14. > Changed in version 3.8: Class ast.Constant is now used for all constants. > > Deprecated since version 3.8: Old classes ast.Num, ast.Str, ast.Bytes, > ast.NameConstant and ast.Ellipsis are still available, but they will be > removed in future Python releases. In the meanwhile, instantiating them > will return an instance of a different class. https://docs.python.org/3.14/library/ast.html#ast.AST.end_col_offset