Py3.3 fix
This commit is contained in:
parent
b37f3b8964
commit
f950717e5a
@ -203,7 +203,7 @@ class HyASTCompiler(object):
|
|||||||
|
|
||||||
@builds(HyInteger)
|
@builds(HyInteger)
|
||||||
def compile_number(self, number):
|
def compile_number(self, number):
|
||||||
return ast.Num(n=number,
|
return ast.Num(n=int(number), # See HyInteger above.
|
||||||
lineno=number.start_line,
|
lineno=number.start_line,
|
||||||
col_offset=number.start_column)
|
col_offset=number.start_column)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user