diff --git a/py/doc/io.txt b/py/doc/io.txt index 3ab02eb52..ec738b92d 100644 --- a/py/doc/io.txt +++ b/py/doc/io.txt @@ -24,6 +24,7 @@ Basic Example: True For calling functions you may use a shortcut: + >>> import py >>> def f(): print "hello" >>> res, out, err = py.io.StdCapture.call(f)