#NEWLINE# @ classmethod #NEWLINE# def function_call( cls , name , * args , **kwargs ) : #NEWLINE# #INDENT# is_custom = kwargs . get ( 'custom' , False ) #NEWLINE# if ( not is_custom ) : #NEWLINE# #INDENT# name = name . lower ( ) #NEWLINE# #UNINDENT# ( codes , decls , inits ) = cls . _extract_code_decl_init ( list ( args ) ) #NEWLINE# argscode = ',' . join ( [ '{0}' . format ( d ) for d in codes ] ) #NEWLINE# name = { #NEWLINE# #INDENT# 'year' : 'dates::year' , #NEWLINE# #UNINDENT# } . get ( name , name ) #NEWLINE# code = '{name}({argscode})' . format ( name = name , argscode = argscode ) #NEWLINE# return ( code , decls , inits )