2017-02-13 | Paul Boddie | raw annotate files changeset graph | Moved minimum parameter information to parameter tables, adding maximum parameter information (also fixing tests in the __invoke function), and thus making parameter tables distinct according to minimum parameters and parameter member details. This changes the __attr size to a single word and thus reduces the program data volume even further. | method-wrapper-for-context |
1 try: 2 f = open("tests/read_file.py") # this file! 3 except IOError, exc: 4 print "I/O error occurred:", exc.value 5 raise 6 7 try: 8 s = f.read(5) 9 print s # try: 10 s = f.read(49) 11 print s # f = open("tests/read_file.py") # this file! 12 s = f.readline() 13 print s # except IOError, exc: 14 s = f.read() 15 print s 16 finally: 17 f.close()