summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 3962b63..7fbd2e9 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -141,11 +141,11 @@ code_compare(co, cp)
PyCodeObject *co, *cp;
{
int cmp;
- cmp = cp->co_argcount - cp->co_argcount;
+ cmp = co->co_argcount - cp->co_argcount;
if (cmp) return cmp;
- cmp = cp->co_nlocals - cp->co_nlocals;
+ cmp = co->co_nlocals - cp->co_nlocals;
if (cmp) return cmp;
- cmp = cp->co_flags - cp->co_flags;
+ cmp = co->co_flags - cp->co_flags;
if (cmp) return cmp;
cmp = PyObject_Compare((PyObject *)co->co_code,
(PyObject *)cp->co_code);