#NEWLINE# @ Substitution ( name = 'expanding' ) #NEWLINE# @ Appender ( _doc_template ) #NEWLINE# @ Appender ( _shared_docs [ 'apply' ] ) #NEWLINE# def apply( self , func , args = ( ) , kwargs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) : #NEWLINE# #INDENT# return super ( Expanding , self ) . apply ( self , args = args , kwargs = kwargs )