X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/bfe5ccdcf939280dfbea28c2d94cb8928da33998..ef352465e0a513d83fb4c76695a4787387cf8e73:/field.c?ds=inline diff --git a/field.c b/field.c index fae0365..224363d 100644 --- a/field.c +++ b/field.c @@ -126,16 +126,6 @@ static mp *tofe(field *f, PyObject *o) return (y); } -mp *getfe(field *f, PyObject *o) -{ - mp *x = 0; - if ((x = tofe(f, o)) == 0) { - PyErr_Format(PyExc_TypeError, "can't convert %.100s to fe", - o->ob_type->tp_name); - } - return (x); -} - /*----- Field elements ----------------------------------------------------*/ static int febinop(PyObject *x, PyObject *y,