Lichen

tests/read.py

581:7c5a7efcaf14
2017-02-13 Paul Boddie Added __str__ to the wrapper class to delegate to wrapped objects. method-wrapper-for-context
     1 from posix import read     2      3 try:     4     s = read(3, 10)     5 except IOError, exc:     6     print "read(3, 10): input/output error condition", exc.value     7      8 s = read(0, 10)     9 print s