#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# errors = self . default_error_messages . copy ( ) #NEWLINE# if ( 'error_messages' in kwargs ) : #NEWLINE# #INDENT# errors . update ( kwargs [ 'error_messages' ] ) #NEWLINE# #UNINDENT# fields = ( forms . ChoiceField ( choices = self . EXP_MONTH , error_messages = { #NEWLINE# #INDENT# 'invalid' : errors [ 'invalid_month' ] , #NEWLINE# #UNINDENT# } ) , forms . ChoiceField ( choices = self . EXP_YEAR , error_messages = { #NEWLINE# #INDENT# 'invalid' : errors [ 'invalid_year' ] , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# super ( CreditCardExpiryField , self ) . __init__ ( self , * args , ** kwargs ) #NEWLINE# self . widget = CreditCardExpiryWidget ( widgets = [ fields [ 0 ] . widget , fields [ 1 ] . widget ] )