Some Python2.7 fixes.

This commit is contained in:
Dave Halter
2017-08-15 19:34:47 +02:00
parent 86aa185136
commit 476d5fb0d1
2 changed files with 6 additions and 6 deletions

View File

@@ -8,8 +8,8 @@ versions, file caching, round-trips and other stuff:
>>> expr = module.children[0]
>>> expr
PythonNode(arith_expr, [<Name: hello@1,0>, <Operator: +>, <Number: 1>])
>>> expr.get_code()
'hello + 1'
>>> print(expr.get_code())
hello + 1
>>> name = expr.children[0]
>>> name
<Name: hello@1,0>