Style fixes

This commit is contained in:
Paul R. Tagliamonte 2013-03-03 13:13:11 -05:00
parent 9b58f893cb
commit e992c8dd38

View File

@ -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())