<s> def cvt ( s ) : <EOL> if isinstance ( s , str ) : <EOL> return unicode ( s ) <EOL> return s <EOL> class GWTCanvasImplDefault : <EOL> def createElement ( self ) : <EOL> e = DOM . createElement ( "<STR_LIT>" ) <EOL> try : <EOL> self . setCanvasContext ( e . MozGetIPCContext ( u'<STR_LIT>' ) ) <EOL> except AttributeError : <EOL> self . setCanvasContext ( e . getContext ( '<STR_LIT>' ) ) <EOL> return e </s>
