• Guido van Rossum's avatar
    A bunch of functions are now properly implemented in abstract.c, and · 302b56ea
    Guido van Rossum authored
    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().
    302b56ea
bltinmodule.c 38.1 KB