13 lines · plain
1%extend lldb::SBProgress {2#ifdef SWIGPYTHON3 %pythoncode %{4 def __enter__(self):5 '''No-op for with statement'''6 pass7 8 def __exit__(self, exc_type, exc_value, traceback):9 '''Finalize the progress object'''10 self.Finalize()11 %}12#endif13}