#NEWLINE# def __init__( self , maxwidth = 16 , radix = 16 , labels = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) : #NEWLINE# #INDENT# 'Maxwidth is the maximum width of an address in bits.\n        Radix is the default radix to use when one is not specified\n        as a prefix of any input.  Labels are a dictionary of label\n        names that can be substituted for addresses.\n        ' #NEWLINE# self . radix = radix #NEWLINE# self . maxwidth = maxwidth #NEWLINE# self . labels = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( k , v ) in labels . items ( ) : #NEWLINE# #INDENT# self . labels [ k ] = self . _constrain ( v )