Style fixes
This commit is contained in:
parent
9b58f893cb
commit
e992c8dd38
@ -38,6 +38,7 @@ _compile_table = {}
|
||||
def builds(_type):
|
||||
def _dec(fn):
|
||||
_compile_table[_type] = fn
|
||||
|
||||
def shim(*args, **kwargs):
|
||||
return fn(*args, **kwargs)
|
||||
return shim
|
||||
@ -64,7 +65,6 @@ class HyASTCompiler(HyCompiler):
|
||||
starargs=None,
|
||||
kwargs=None)
|
||||
|
||||
|
||||
@builds(HySymbol)
|
||||
def compile_symbol(self, symbol):
|
||||
return ast.Name(id=str(symbol), ctx=ast.Load())
|
||||
|
Loading…
Reference in New Issue
Block a user