#NEWLINE# def __new__( cls , default , patterns = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , https = None ) : #NEWLINE# #INDENT# obj = super ( CloudFrontURLs , cls ) . __new__ ( cls , default ) #NEWLINE# obj . _patterns = [ ] #NEWLINE# for ( key , value ) in patterns . items ( ) : #NEWLINE# #INDENT# obj . _patterns . append ( ( re . compile ( key ) , ( '%s' % value ) ) ) #NEWLINE# #UNINDENT# obj . _https = https #NEWLINE# return obj