From 92ed5e913c024ab876cc7cec13942076703a3ff0 Mon Sep 17 00:00:00 2001 From: Gabor Guzmics Date: Wed, 24 May 2017 13:22:40 +0200 Subject: [PATCH] =?UTF-8?q?learning=20how=20to=20git=20rst=20=E2=98=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scon/logs/readme.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/scon/logs/readme.rst b/src/scon/logs/readme.rst index e7a8a79..8962161 100644 --- a/src/scon/logs/readme.rst +++ b/src/scon/logs/readme.rst @@ -23,13 +23,13 @@ however to update the rest of the log information, one has to at least call "unp having this finetuned in multiple steps however allows us to gain speed by ignoring unwanted information (as combat logs e.g. tend to be large) all other functionality is planend to be in the high level api .game -e.g.: -``` -for line in game_log.lines: - if isinstance(line, Log): - if line.unpack(): - print(line.values.keys()) -``` +e.g.:: + + for line in game_log.lines: + if isinstance(line, Log): + if line.unpack(): + print(line.values.keys()) + | unpack can be called several times, as it only unpacks once.