quantlib.instruments.bond.Type.__getitem__

classmethod Type.__getitem__(name)

Return the member matching name.