<s> """<STR_LIT>""" <EOL> import sys <EOL> if sys . version_info [ <NUM_LIT:0> ] < <NUM_LIT:3> : <EOL> raise ImportError ( '<STR_LIT>' ) <EOL> def __read_version_txt ( ) : <EOL> import pkgutil <EOL> return pkgutil . get_data ( '<STR_LIT>' , '<STR_LIT>' ) . decode ( '<STR_LIT:utf-8>' ) . strip ( ) <EOL> __version__ = __read_version_txt ( ) <EOL> def Specification ( * numbered , ** named ) : <EOL> """<STR_LIT>""" <EOL> enum = dict ( { n : i for i , n in enumerate ( numbered ) } , ** named ) <EOL> inverted = dict ( zip ( enum . values ( ) , enum . keys ( ) ) ) <EOL> data = dict ( enum ) <EOL> data [ '<STR_LIT>' ] = inverted . get <EOL> data [ '<STR_LIT>' ] = enum . keys <EOL> data [ '<STR_LIT>' ] = enum . values <EOL> return type ( '<STR_LIT>' , ( ) , data ) <EOL> class ParseError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , * args , ** kwargs ) : <EOL> self . lineno = None <EOL> super ( ParseError , self ) . __init__ ( * args , ** kwargs ) <EOL> def SetLineNumber ( self , lineno ) : <EOL> self . lineno = lineno <EOL> class ConfigurationError ( Exception ) : <EOL> """<STR_LIT>""" </s>
