function: io.dupfile

*Not documented*
def dupfile(f, mode=None, buffering=0, raising=False): 

origin:<UNKNOWN>

where:

exceptions that might appear during execution:

function source:

def dupfile(f, mode=None, buffering=0, raising=False): 
    try: 
        fd = f.fileno() 
    except AttributeError: 
        if raising: 
            raise 
        return f
    newfd = os.dup(fd) 
    mode = mode and mode or f.mode
    return os.fdopen(newfd, mode, buffering) 

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.0

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.1

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.2

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.3

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.4

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.5

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.6

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.7

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/out.py

traceback io.dupfile.8

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.9

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.10

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/out.py

traceback io.dupfile.11

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.12

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.13

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.14

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.15

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.16

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.17

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.18

called in /home/johnny/projects/merlinux/py/dist/py/io/capture.py

traceback io.dupfile.19

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/out.py

traceback io.dupfile.20