ubelt/util_stream.py
def stop(self):
        """
        Doctest:
            >>> CaptureStdout(enabled=False).stop()
            >>> CaptureStdout(enabled=True).stop()
        """
        if self.enabled:
            self.started = False
            sys.stdout = self.orig_stdout
def stop(self):
        """
        Doctest:
            >>> CaptureStdout(enabled=False).stop()
            >>> CaptureStdout(enabled=True).stop()
        """
        if self.enabled:
            self.started = False
            sys.stdout = self.orig_stdout
def stop ( self ) : if self . enabled : self . started = False sys . stdout = self . orig_stdout
Doctest:
            >>> CaptureStdout(enabled=False).stop()
            >>> CaptureStdout(enabled=True).stop()
Doctest : >>> CaptureStdout ( enabled = False ) . stop () >>> CaptureStdout ( enabled = True ) . stop ()