mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-06 12:48:22 +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
|
common_token_map = { # these operators and function are considered safe to use in the template
|
||||||
operator: operator
|
operator: operator
|
||||||
for operator in
|
for operator in
|
||||||
["+", "-", "*", "/", "%", "**", ",", "(", ")", "[", "]", "==", "!=", "in", ">", "<", ">=", "<=", "and", "or", "&",
|
[">=", "<=", "<<", ">>", "+", "-", "*", "/", "%", "**", ",", "(", ")", "[", "]", "==", "!=", "in", ">", "<",
|
||||||
"|", "^", "~", "<<", ">>", ":", "isinstance", "issubclass", "not", "is", "if", "else", "abs", "int",
|
"and", "or", "&", "|", "^", "~", ":", "isinstance", "issubclass", "not", "is", "if", "else", "abs", "int",
|
||||||
"bin", "hex", "oct", "chr", "ord", "len", "str", "bool", "float", "round", "min", "max", "sum", "zip",
|
"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",
|
"any", "all", "reversed", "enumerate", "list", "sorted", "hasattr", "for", "range", "type", "repr", "None",
|
||||||
"True", "False", "getattr"
|
"True", "False", "getattr"
|
||||||
|
|
Loading…
Reference in a new issue