Skip to content

Commit aa29ae2

Browse files
committed
Update example in README.
The previous example was out of data due changes in the API implemented in version 4.3.0 (#219)
1 parent 39ca6d3 commit aa29ae2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@ Here it goes a little example:
2222
>>> print(matches[0].tags)
2323
['bar']
2424
>>> print(matches[0].strings)
25-
[(10L, '$a', 'lmn')]
25+
[$a]
26+
>>> print(matches[0].strings[0].identifier)
27+
$a
28+
>>> print(matches[0].strings[0].instances)
29+
[lmn]
30+
>>> print(matches[0].strings[0].instances[0].offset)
31+
10
32+
>>> print(matches[0].strings[0].instances[0].matched_length)
33+
3
2634
2735
2836
Installation

0 commit comments

Comments
 (0)