6.13.1.2.1. End Exceptions

A class to be used as an end of file exception, and a class to be used as an end of information exception. The distinction is: any input driver (source) file could throw an eof. An eoi is thrown by a higher level routine to indicate end of logical input frame.

These exceptions, when thrown, do not represent an error, they're just used to facilitate alternate block exits.

Comienzo python section to interscript/drivers/sources/base.py[1 /2 ] Siguiente Ăšltimo
     1: #line 80 "source_drivers.ipk"
     2: class eof(Exception): pass
     3: class eoi(Exception): pass
     4: 
End python section to interscript/drivers/sources/base.py[1]