clipspy-1.0.0/clips/functions.py
def find_generic(self, name: str) -> Generic:
        """Find the Generic by its name."""
        defgeneric = lib.FindDefgeneric(self._env, name.encode())
        if defgeneric == ffi.NULL:
            raise LookupError("Generic '%s' not found" % name)

        return Generic(self._env, name)
Find the Generic by its name.
Find the Generic by its name.
Find the Generic by its name .
def find_generic(self, name: str) -> Generic:
        defgeneric = lib.FindDefgeneric(self._env, name.encode())
        if defgeneric == ffi.NULL:
            raise LookupError("Generic '%s' not found" % name)
        return Generic(self._env, name)
def find_generic ( self , name : str ) -> Generic : defgeneric = lib . FindDefgeneric ( self . _env , name . encode ( ) ) if defgeneric == ffi . NULL : raise LookupError ( "Generic '%s' not found" % name ) return Generic ( self . _env , name )
Find the Generic by its name.
Find the Generic by its name .
"""Find the Generic by its name."""
self
name
str