| Home | Trees | Indices | Help |
|---|
|
|
Captures everything `func` prints to stdout and returns it instead.
>>> def idiot(): ... print "foo" >>> capturestdout(idiot)() 'foo\n'
**WARNING:** Not threadsafe!
|
|||
|
|||
|
|||
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 4 09:57:30 2010 | http://epydoc.sourceforge.net |