Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 24916:e3d96e00dc6c legacy-trunk
Comment typo repair.
| author | Michael W. Hudson <mwh@python.net> |
|---|---|
| date | Tue, 20 Aug 2002 15:43:16 +0000 |
| parents | 01e1d6abc501 |
| children | b1ab4e8d7d9c |
line wrap: on
line diff
--- a/Python/ceval.c Tue Aug 20 15:19:14 2002 +0000 +++ b/Python/ceval.c Tue Aug 20 15:43:16 2002 +0000 @@ -604,7 +604,7 @@ f->f_lasti now refers to the index of the last instruction executed. You might think this was obvious from the name, but this wasn't always true before 2.3! PyFrame_New now sets - f->f_lasti to -1 (i.e. the index *before* the first instruction + f->f_lasti to -1 (i.e. the index *before* the first instruction) and YIELD_VALUE doesn't fiddle with f_lasti any more. So this does work. Promise. */ next_instr = first_instr + f->f_lasti + 1;
