mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-03 17:57:30 +08:00
The readme should match the documentation.
This commit is contained in:
1 parent
ed803f5749
commit
a18baf0d2c
2 files changed
+29
-5
No files matched your search
@@ -31,6 +31,13 @@ A simple example:
|
||||
PythonNode(arith_expr, [<Name: hello@1,0>, <Operator: +>, <Number: 1>])
|
||||
>>> print(expr.get_code())
|
||||
hello + 1
|
||||
>>> name = expr.children[0]
|
||||
>>> name
|
||||
<Name: hello@1,0>
|
||||
>>> name.end_pos
|
||||
(1, 5)
|
||||
>>> expr.end_pos
|
||||
(1, 9)
|
||||
|
||||
To list multiple issues:
|
||||
|
||||
|
||||
Reference in new issue
Block a user