<s> """<STR_LIT>""" <EOL> from __future__ import division , print_function , unicode_literals <EOL> import six <EOL> __docformat__ = '<STR_LIT>' <EOL> __version__ = '<STR_LIT>' <EOL> import os <EOL> import sys <EOL> class MissingModule : <EOL> def __init__ ( self , name , info = '<STR_LIT>' , urgent = <NUM_LIT:0> ) : <EOL> self . name = name <EOL> self . info = str ( info ) <EOL> self . urgent = urgent <EOL> if urgent : <EOL> self . warn ( ) <EOL> def __getattr__ ( self , var ) : <EOL> if not self . urgent : <EOL> self . warn ( ) <EOL> self . urgent = <NUM_LIT:1> <EOL> MissingPygameModule = "<STR_LIT>" % self . name <EOL> raise NotImplementedError ( MissingPygameModule ) <EOL> if six . PY2 : <EOL> def __nonzero__ ( self ) : <EOL> return <NUM_LIT:0> <EOL> else : <EOL> def __bool__ ( self ) : <EOL> return <NUM_LIT:0> <EOL> def warn ( self ) : <EOL> if self . urgent : <EOL> type = '<STR_LIT>' <EOL> else : <EOL> type = '<STR_LIT>' <EOL> message = '<STR_LIT>' % ( type , self . name , self . info ) <EOL> try : <EOL> import warnings <EOL> if self . urgent : <EOL> level = <NUM_LIT:4> <EOL> else : <EOL> level = <NUM_LIT:3> <EOL> warnings . warn ( message , RuntimeWarning , level ) <EOL> except ImportError : <EOL> print ( message ) <EOL> from cocos . audio . pygame . base import * <EOL> from cocos . audio . pygame . version import * <EOL> __version__ = ver <EOL> try : <EOL> import cocos . audio . pygame . mixer <EOL> except ( ImportError , IOError ) as msg : <EOL> mixer = MissingModule ( "<STR_LIT>" , msg , <NUM_LIT:0> ) <EOL> try : <EOL> import cocos . audio . pygame . mixer_music <EOL> del cocos . audio . pygame . mixer_music <EOL> except ( ImportError , IOError ) : <EOL> pass <EOL> del os , sys , </s>
