Commit d3064f4b authored by Stefan Marr's avatar Stefan Marr

Remove redundant \

[sync with RTruffleSOM]
Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
parent 32335bea
......@@ -38,12 +38,12 @@ def _sorted_symbols(cls):
"""This function is only called a single time, at load time of this module.
For RPypthon, this means, during translation of the module.
"""
return [key for value, key in \
sorted([(value, key) for key, value in cls.__dict__.items()]) \
if isinstance(value, int)
]
return [key for value, key in
sorted([(value, key) for key, value in cls.__dict__.items()])
if isinstance(value, int)]
_symbols = _sorted_symbols(Symbol)
def symbol_as_str(symbol):
index = symbol + 1
if index > len(_symbols):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment