commit | 08c4cc41276f0c6f17f304ae65bd3fa35079e526 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Tue Nov 12 11:42:20 2002 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Tue Nov 12 11:42:20 2002 +0000 |
tree | 1d8694d82b41ac8387a709c95edee3cfba972e85 | |
parent | 678fc1ee7df0932a6c65d3f98a510d3af1f6a8d0 [diff] |
Use PyInt_AsLong instead of PyInt_AS_LONG after the call to PyNumber_Int, because now PyNumber_Int might return a long, and PyInt_AsLong can handle that, whereas PyInt_AS_LONG can't. This closes SF bug #629989.