]> granicus.if.org Git - python/commit
Two small changes:
authorGuido van Rossum <guido@python.org>
Mon, 27 Jan 1997 23:42:36 +0000 (23:42 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 27 Jan 1997 23:42:36 +0000 (23:42 +0000)
commitdeb0c5e66cffce69773a27b14456ec3c9413b592
tree8cdd802a65a8320ef83bc61f4752aa1ac8356334
parent866016b92d9f041bf5c56cbf4b3ae436109913da
Two small changes:

- Use co->... instead of f->f_code->...; save an extra lookup of what
we already have in a local variable).

- Remove test for nlocals > 0 before setting fastlocals to
f->f_localsplus; 0 is a rare case and the assignment is safe even
then.
Python/ceval.c