diff options
Diffstat (limited to 'Python/ceval.c')
| -rw-r--r-- | Python/ceval.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index defd00299f..3ea90599bd 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -742,7 +742,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)  	consts = co->co_consts;  	fastlocals = f->f_localsplus;  	freevars = f->f_localsplus + co->co_nlocals; -	first_instr = (unsigned char*) PyString_AS_STRING(co->co_code); +	first_instr = (unsigned char*) PyBytes_AS_STRING(co->co_code);  	/* An explanation is in order for the next line.  	   f->f_lasti now refers to the index of the last instruction  | 
