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

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