mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-24 21:47:22 +08:00
Some Python2.7 fixes.
This commit is contained in:
1 parent
86aa185136
commit
476d5fb0d1
2 files changed
+6
-6
No files matched your search
+2
-2
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user