rst
This commit is contained in:
parent
42dea45986
commit
6fea5815e6
@ -24,14 +24,14 @@ In this example, parsing complete files:
|
|||||||
all other functionality is planend to be in the high level api .game
|
all other functionality is planend to be in the high level api .game
|
||||||
|
|
||||||
e.g.:
|
e.g.:
|
||||||
|
```
|
||||||
for line in game_log.lines:
|
for line in game_log.lines:
|
||||||
if isinstance(line, Log):
|
if isinstance(line, Log):
|
||||||
if line.unpack():
|
if line.unpack():
|
||||||
print(line.values.keys())
|
print(line.values.keys())
|
||||||
|
```
|
||||||
|
|
||||||
* unpack can be called several times, as it only unpacks once.
|
| unpack can be called several times, as it only unpacks once.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user