diff options
| author | Guido van Rossum <guido@python.org> | 1990-12-20 23:03:11 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1990-12-20 23:03:11 +0000 |
| commit | 7c2a79647b4d12a4da6c8218dd413ece4a684c85 (patch) | |
| tree | 84217f7074db73e3f00527e771d49b58051c0895 /Python | |
| parent | 04ebbdd9ecb46461d3a04c4c5c010136aeb6a3ba (diff) | |
| download | cpython-7c2a79647b4d12a4da6c8218dd413ece4a684c85.tar.gz | |
Change div() into divide(); div() is a Standard C function.
Diffstat (limited to 'Python')
| -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 5c9548d4fe..bda9d5b4b2 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); |
