enclose method

enclose

Encloses a math element in parenthesis

Returns

The math element of type IMathDelimiter which includes the parenthesis

def enclose(self):
    ...

enclose

Encloses child elements of this block in specified characters such as parenthesis or another characters as framing

Returns

The math element of type IMathDelimiter which includes specified characters as framing

def enclose(self, beginning_character, ending_character):
    ...
ParameterTypeDescription
beginning_charactercharBeginning character (usually left bracket)
ending_charactercharEnding character (usually right bracket)

enclose

Encloses child elements of this block in specified characters such as parenthesis or another as framing and delimit with a separator character

Returns

The math element of type IMathDelimiter which includes specified characters as framing and delimiter

def enclose(self, beginning_character, ending_character, separator_character):
    ...
ParameterTypeDescription
beginning_charactercharBeginning character (usually left bracket)
ending_charactercharEnding character (usually right bracket)
separator_charactercharSeparator character

See Also