]> granicus.if.org Git - python/commit
A bunch of functions are now properly implemented in abstract.c, and
authorGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:51:39 +0000 (00:51 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:51:39 +0000 (00:51 +0000)
commit09df08a105c054a82c1c3d52efa2a21553c0b4d1
tree3c36a31aaf123aef4632f8c3dca0f4f66b4527c9
parent44e4d5a6fd97d7a9e17a150b30712bc02848ed2b
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().
Python/bltinmodule.c