Mercurial > cpython-lru_cache-weakref
comparison Python/getopt.c @ 22194:fc6dc2ea25cf legacy-trunk
Fix leak of NotImplemented in previous checkin to PyNumber_Add().
If result == Py_NotImplemented, always DECREF it before assigning a
new value to result.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Fri, 08 Mar 2002 21:28:54 +0000 |
| parents | a826a46bae54 |
| children | 2f3f2e32dfd9 |
comparison
equal
deleted
inserted
replaced
| 22193:98a3fa5f687c | 22194:fc6dc2ea25cf |
|---|
