class documentation

class BigBracket: (source)

View In Hierarchy

A big bracket generator.

Method __init__ Set the size and symbol for the bracket.
Method getcell Get the bracket piece as an array cell.
Method getcontents Get the bracket as an array or as a single bracket.
Method getpiece Return the nth piece for the bracket.
Method getpiece1 Return the only piece for a single-piece bracket.
Method getpiece3 Get the nth piece for a 3-piece bracket: parenthesis or square bracket.
Method getpiece4 Get the nth piece for a 4-piece bracket: curly bracket.
Method getsinglebracket Return the bracket as a single sign.
Instance Variable alignment Undocumented
Instance Variable original Undocumented
Instance Variable pieces Undocumented
Instance Variable size Undocumented
def __init__(self, size, bracket, alignment='l'): (source)

Set the size and symbol for the bracket.

def getcell(self, index): (source)

Get the bracket piece as an array cell.

def getcontents(self): (source)

Get the bracket as an array or as a single bracket.

def getpiece(self, index): (source)

Return the nth piece for the bracket.

def getpiece1(self, index): (source)

Return the only piece for a single-piece bracket.

def getpiece3(self, index): (source)

Get the nth piece for a 3-piece bracket: parenthesis or square bracket.

def getpiece4(self, index): (source)

Get the nth piece for a 4-piece bracket: curly bracket.

def getsinglebracket(self): (source)

Return the bracket as a single sign.

alignment = (source)

Undocumented

original = (source)

Undocumented

pieces = (source)

Undocumented

size = (source)

Undocumented