def find_generic(self, name):
defgeneric = lib.EnvFindDefgeneric(self._env, name.encode())<EOL>if defgeneric == ffi.NULL:<EOL><INDENT>raise LookupError("<STR_LIT>" % name)<EOL><DEDENT>return Generic(self._env, defgeneric)<EOL>
Find the Generic by its name.