]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Change cascaded if stmts to switch stmt in vgetargs1().
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 29 May 2001 17:46:19 +0000 (17:46 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 29 May 2001 17:46:19 +0000 (17:46 +0000)
commit25916bdc11c7d96ada294a25cff3510ef72ddb75
tree437990cec31708a7449604e1cbee1777367c75b9
parent1cb7aa3e6e0a7cf94938701ac1a027e1b5b25c1f
Change cascaded if stmts to switch stmt in vgetargs1().

In the default branch, keep three ifs that are used if level == 0, the
most common case.  Note that first if here is a slight optimization
for the 'O' format.

Second part of SF patch 426072.
Python/getargs.c