Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
Explain raw_line = next(raw_lines)
Browse files Browse the repository at this point in the history
Closes #16
  • Loading branch information
goerz committed May 8, 2019
1 parent ddd5c50 commit 927d4a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qdyn/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ def _process_raw_lines(raw_lines):
while True:
try:
raw_line = next(raw_lines)
# One iteration of the loop may consume multiple raw_lines (for
# continuations), so we can't just do `for raw_line in raw_lines`
except StopIteration:
# see PEP 479
return
Expand Down

0 comments on commit 927d4a2

Please sign in to comment.