#NEWLINE# def __new__( cls , * args , **kwargs ) : #NEWLINE# #INDENT# '\n        Construct a ZipFile or ContextualZipFile as appropriate\n        ' #NEWLINE# if hasattr ( zipfile . ZipFile , '__exit__' ) : #NEWLINE# #INDENT# return zipfile . ZipFile ( * args , ** kwargs ) #NEWLINE# #UNINDENT# return super ( ContextualZipFile , cls ) . __new__ ( kwargs )