sys.stdout._unproxy

Here are the examples of the python api sys.stdout._unproxy taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: pypsi Source File: cmdline.py
    def cleanup_io(self):
        '''
        Close proxied streams and unproxy them.
        '''

        self.close_streams()

        if self.stdout:
            sys.stdout._unproxy()
        if self.stderr:
            sys.stderr._unproxy()
        if self.stdin:
            sys.stdin._unproxy()