quantlib.instruments.variance_swap.SwapType.__getitem__

classmethod SwapType.__getitem__(name)

Return the member matching name.