]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Change div() into divide(); div() is a Standard C function.
authorGuido van Rossum <guido@python.org>
Thu, 20 Dec 1990 23:03:11 +0000 (23:03 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 20 Dec 1990 23:03:11 +0000 (23:03 +0000)
Python/ceval.c

index 5c9548d4fe4bf7e9b454245554bae7802547faaf..bda9d5b4b203464a33c7da6abba3f31fd527094c 100644 (file)
@@ -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);