<s> """<STR_LIT>""" <EOL> __version__ = "<STR_LIT>" <EOL> from . . StyleProperty import StyleProperty <EOL> import inspect <EOL> from . . import convert as cvt <EOL> __all__ = [ '<STR_LIT>' ] <EOL> class Instance ( StyleProperty ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , cls , default = None , doc = "<STR_LIT>" ) : <EOL> """<STR_LIT>""" <EOL> modulepath = inspect . getmodule ( cls ) . __name__ <EOL> modulepath = modulepath . replace ( '<STR_LIT:.>' , '<STR_LIT:_>' ) <EOL> doc += "<STR_LIT>" "<STR_LIT>" % ( cls . __name__ , modulepath , cls . __name__ ) <EOL> validator = cvt . Converter ( cvt . toInstance , cls , allowNone = True ) <EOL> StyleProperty . __init__ ( self , default , validator , doc ) </s>
