#NEWLINE# def __init__( self , configs ) : #NEWLINE# #INDENT# self . config = { #NEWLINE# #INDENT# 'base_url' : [ '/' , 'String to append to beginning or URL.' ] , #NEWLINE# 'end_url' : [ '/' , 'String to append to end of URL.' ] , #NEWLINE# 'html_class' : [ 'wikilink' , 'CSS hook. Leave blank for none.' ] , #NEWLINE# 'build_url' : [ build_url , 'Callable formats URL from label.' ] , #NEWLINE# #UNINDENT# } #NEWLINE# for ( key , value ) in configs . items ( ) : #NEWLINE# #INDENT# self . setConfig ( key , value )