Skip to content

Commit b8a4d6c

Browse files
authored
Fixed doctests
1 parent 7173834 commit b8a4d6c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

flowsignal.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
return address need to be added to the return stack.
2222
2323
>>> flowsignal = FlowSignal(ftype=FlowSignal.RETURN)
24-
>>> print(flowsignal.ftarget)
25-
-1
24+
>>> flowsignal.ftarget is None
25+
True
26+
>>> flowsignal.ftype
27+
5
2628
>>> flowsignal = FlowSignal(ftarget=100, ftype=FlowSignal.SIMPLE_JUMP)
27-
>>> print(flowsignal.ftarget)
29+
>>> flowsignal.ftarget
2830
100
29-
>>> print(flowsignal.ftype)
31+
>>> flowsignal.ftype
3032
0
3133
"""
3234

@@ -123,3 +125,4 @@ def __init__(self, ftarget=None, ftype=SIMPLE_JUMP, floop_var=None):
123125
self.ftarget = ftarget
124126

125127
self.floop_var = floop_var
128+

0 commit comments

Comments
 (0)