#NEWLINE# @ classmethod #NEWLINE# def from_section( cls , sec ) : #NEWLINE# #INDENT# new_sec = cls ( sec . heading ) #NEWLINE# new_sec . _text = sec . _text #NEWLINE# if hasattr ( sec , 'args' ) : #NEWLINE# #INDENT# new_sec . args = sec . args #NEWLINE# #UNINDENT# return new_sec