code: 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)
docs: Find the Generic by its name.