quantlib.option.OptionType.__getitem__

classmethod OptionType.__getitem__(name)

Return the member matching name.