commit | 09df08a105c054a82c1c3d52efa2a21553c0b4d1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri May 22 00:51:39 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri May 22 00:51:39 1998 +0000 |
tree | 3c36a31aaf123aef4632f8c3dca0f4f66b4527c9 | |
parent | 44e4d5a6fd97d7a9e17a150b30712bc02848ed2b [diff] |
A bunch of functions are now properly implemented in abstract.c, and the code here becomes much simpler. In particular: abs(), divmod(), pow(), int(), long(), float(), len(), tuple(), list(). Also make sure that no use of a function pointer gotten from a tp_as_sequence or tp_as_mapping structure is made without checking it for NULL first. A few other cosmetic things, such as properly reindenting slice().