Skip to content

Commit e9c697b

Browse files
author
Vance Palacio
committed
Fix comment for LoopResult enum
1 parent 606c67f commit e9c697b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

textbeat/player.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77
STACK_SIZE = 64
88

99
class LoopResult(Enum):
10-
"""When parsing a line, this enum types help us decide whether we should continue in the loop,
11-
or break, or proceed further
12-
This type is needed so we can choose how to deal interact with a loop from within functions
10+
"""This enum types help us decide whether we should continue in the loop, break, or proceed.
11+
This type is needed so we can choose how to deal interact with a loop outside a functions scope.
1312
"""
14-
PROCEED = 0 # Continue parsing the current line
15-
CONTINUE = 1 # Skips the current line
16-
BREAK = 2 # Stop playback
13+
PROCEED = 0 # Continue forward in the current loop
14+
CONTINUE = 1 # Skip to the next iteration
15+
BREAK = 2 # Break from the loop
1716

1817
class StackFrame(object):
1918
"""

0 commit comments

Comments
 (0)