method: _thread.ThreadOut.setwritefunc

*Not documented*
    def setwritefunc(self, writefunc, tid=None): 

origin: _thread.ThreadOut

where:

function source:

def setwritefunc(self, writefunc, tid=None): 
    assert callable(writefunc)
    if tid is None: 
        tid = thread.get_ident() 
    self._tid2out[tid] = [0, writefunc]

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/thread/testing/test_io.py

traceback _thread.ThreadOut.setwritefunc.0