Mercurial > cpython-lru_cache-weakref
comparison Python/getopt.c @ 20711:2890769b1e69 legacy-trunk
PyArg_ParseTupleAndKeywords: return false on internal error, not -1 (I
introduced this bug just a little while ago, when *adding* internal error
checks).
vgetargskeywords: Rewrote the section that crawls over the format string.
+ Added block comment so it won't take the next person 15 minutes to
reverse-engineer what it's doing.
+ Lined up the "else" clauses.
+ Rearranged the ifs in decreasing order of likelihood (for speed).
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 27 Oct 2001 04:26:57 +0000 |
| parents | a826a46bae54 |
| children | 2f3f2e32dfd9 |
comparison
equal
deleted
inserted
replaced
| 20710:a44cc0c21cfe | 20711:2890769b1e69 |
|---|
