mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-05 20:28:27 +02:00
rearranged operators because some couldn't be accessed otherwise
This commit is contained in:
parent
15d84f757c
commit
c5e254cc7d
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ from typing import Callable
|
|||
common_token_map = { # these operators and function are considered safe to use in the template
|
||||
operator: operator
|
||||
for operator in
|
||||
["+", "-", "*", "/", "%", "**", ",", "(", ")", "[", "]", "==", "!=", "in", ">", "<", ">=", "<=", "and", "or", "&",
|
||||
"|", "^", "~", "<<", ">>", ":", "isinstance", "issubclass", "not", "is", "if", "else", "abs", "int",
|
||||
[">=", "<=", "<<", ">>", "+", "-", "*", "/", "%", "**", ",", "(", ")", "[", "]", "==", "!=", "in", ">", "<",
|
||||
"and", "or", "&", "|", "^", "~", ":", "isinstance", "issubclass", "not", "is", "if", "else", "abs", "int",
|
||||
"bin", "hex", "oct", "chr", "ord", "len", "str", "bool", "float", "round", "min", "max", "sum", "zip",
|
||||
"any", "all", "reversed", "enumerate", "list", "sorted", "hasattr", "for", "range", "type", "repr", "None",
|
||||
"True", "False", "getattr"
|
||||
|
|
Loading…
Reference in a new issue