Skip to content

Commit

Permalink
Merge pull request #720 from reox/master
Browse files Browse the repository at this point in the history
docs: fix _index
  • Loading branch information
arekbulski committed May 10, 2018
2 parents 8acadac + 9c5e978 commit 4b27d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Repeater classes like GreedyRange support indexing feature, which inserts increm

def printobj(obj, ctx):
print(obj)
if ctx._._index+1 >= 3:
if ctx._index+1 >= 3:
raise CancelParsing
st = Struct(
"first" / Byte * printobj,
Expand Down

0 comments on commit 4b27d2c

Please sign in to comment.