@classmethod
def from_section(cls, sec):
    new_sec = cls(sec.alias)
    new_sec._text = sec._text
    if hasattr(sec, 'args'):
        new_sec.args = sec.args
    return new_sec
@classmethod
def from_section(cls, sec):
    new_sec = cls(sec.alias)
    new_sec._text = sec._text
    if hasattr(sec, 'args'):
        new_sec.args = sec.args
    return new_sec