From: Guido van Rossum Date: Thu, 20 Dec 1990 23:03:11 +0000 (+0000) Subject: Change div() into divide(); div() is a Standard C function. X-Git-Tag: v0.9.8~1095 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40d0b7e904396094fc3758ed48f22c12335c862a;p=thirdparty%2FPython%2Fcpython.git Change div() into divide(); div() is a Standard C function. --- diff --git a/Python/ceval.c b/Python/ceval.c index 5c9548d4fe4b..bda9d5b4b203 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -154,7 +154,7 @@ mul(v, w) } static object * -div(v, w) +divide(v, w) object *v, *w; { if (v->ob_type->tp_as_number != NULL) @@ -797,7 +797,7 @@ eval_code(co, globals, locals, arg) case BINARY_DIVIDE: w = POP(); v = POP(); - x = div(v, w); + x = divide(v, w); DECREF(v); DECREF(w); PUSH(x);