File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ rely on the garbage collection when using lldb.SBProgress.
4646
4747Non-deterministic progresses behave the same, but omit the total in the constructor. ::
4848
49- non_deterministic_progress = lldb.SBProgress('Non deterministic progress, 'Detail', lldb.SBDebugger)
49+ non_deterministic_progress = lldb.SBProgress('Non deterministic progress' , 'Detail', lldb.SBDebugger)
5050 for i in range(10):
5151 non_deterministic_progress.Increment(1)
5252 # Explicitly send a progressEnd, otherwise this will be sent
5353 # when the python runtime cleans up this object.
5454 non_deterministic_progress.Finalize()
5555
5656Additionally for Python, progress is supported in a with statement. ::
57- with lldb.SBProgress('Non deterministic progress, 'Detail', lldb.SBDebugger) as progress:
57+ with lldb.SBProgress('Non deterministic progress' , 'Detail', lldb.SBDebugger) as progress:
5858 for i in range(10):
5959 progress.Increment(1)
6060 # The progress object is automatically finalized when the with statement
You can’t perform that action at this time.
0 commit comments