mirror of
https://github.com/python/cpython.git
synced 2025-10-21 06:02:21 +00:00
Renamed PyString to PyBytes
This commit is contained in:
parent
9c4756ea26
commit
72b710a596
78 changed files with 983 additions and 983 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue