summaryrefslogtreecommitdiff
path: root/Python/peephole.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/peephole.c')
-rw-r--r--Python/peephole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/peephole.c b/Python/peephole.c
index 71113316bb..286ac29b39 100644
--- a/Python/peephole.c
+++ b/Python/peephole.c
@@ -308,7 +308,7 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names,
/* Avoid situations where jump retargeting could overflow */
assert(PyString_Check(code));
- codelen = PyString_Size(code);
+ codelen = PyString_GET_SIZE(code);
if (codelen > 32700)
goto exitUnchanged;