*Not documented*
def __init__(self, targetfd, tmpfile=None):
origin: io.FDCapture
where:
changes in __dict__ after execution:
function source:
def __init__(self, targetfd, tmpfile=None):
self.targetfd = targetfd
if tmpfile is None:
tmpfile = self.maketmpfile()
self.tmpfile = tmpfile
self._savefd = os.dup(targetfd)
os.dup2(self.tmpfile.fileno(), targetfd)
self._patched = []
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.0
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.1
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.2
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.3
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.4
called in /home/johnny/projects/merlinux/py/dist/py/io/test/test_capture.py
traceback io.FDCapture.__init__.5
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.6
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.7
called in /home/johnny/projects/merlinux/py/dist/py/io/test/test_capture.py
traceback io.FDCapture.__init__.8
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.9
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.10
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.11
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.12
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.13
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.14
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.15
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.16
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.17
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.18
called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py
traceback io.FDCapture.__init__.19
called in /home/johnny/projects/merlinux/py/dist/py/io/test/test_capture.py