(self, key)
Get the option descriptor from self.OPTIONS.

        :param str key: Name of the state option.
        :return:        The option descriptor.
        :rtype:         StateOption
Get the option descriptor from self.OPTIONS.
Get the option descriptor from self . OPTIONS .
def _get_option_desc(self, key):
        """
        Get the option descriptor from self.OPTIONS.

        :param str key: Name of the state option.
        :return:        The option descriptor.
        :rtype:         StateOption
        """

        try:
            return self.OPTIONS[key]
        except KeyError:
            raise SimStateOptionsError("The state option '%s' does not exist." % key)
def _get_option_desc ( self , key ) : try : return self . OPTIONS [ key ] except KeyError : raise SimStateOptionsError ( "The state option '%s' does not exist." % key )