]> granicus.if.org Git - python/commit
Micro optimization. In the first case, we know that frame->f_exc_type
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 9 May 2006 05:38:56 +0000 (05:38 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 9 May 2006 05:38:56 +0000 (05:38 +0000)
commitb255069d43f44cb5fee978edf580923979f38826
treec8991dee0057e53bcdcad8dcb0e6914d75e85757
parente854e765f40a7af814fc9ba0c57b7877eaeb21f9
Micro optimization.  In the first case, we know that frame->f_exc_type
is NULL, so there's no reason to do anything with it.  In the second case,
we know frame->f_exc_type is not NULL, so we can just do an INCREF.
Python/ceval.c