diff Python/graminit.c @ 8402:0cb0394c2edc legacy-trunk

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().
author Guido van Rossum <guido@python.org>
date Fri, 22 May 1998 00:51:39 +0000
parents ad114620f8c2
children 603db0d0aed1
line wrap: on
line diff