diff options
author | Guido van Rossum <guido@python.org> | 1990-12-20 23:03:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-12-20 23:03:11 (GMT) |
commit | 40d0b7e904396094fc3758ed48f22c12335c862a (patch) | |
tree | 84217f7074db73e3f00527e771d49b58051c0895 /Python/ceval.c | |
parent | d05c4b2a7c88c209e1cb4d1f24368ece616d498c (diff) | |
download | cpython-40d0b7e904396094fc3758ed48f22c12335c862a.zip cpython-40d0b7e904396094fc3758ed48f22c12335c862a.tar.gz cpython-40d0b7e904396094fc3758ed48f22c12335c862a.tar.bz2 |
Change div() into divide(); div() is a Standard C function.
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 5c9548d..bda9d5b 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); |