]> granicus.if.org Git - python/commit
Completely reformatted, standardizing indentation as well as
authorGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:47:05 +0000 (00:47 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:47:05 +0000 (00:47 +0000)
commitcea1c8ca22b318ce38a9a135c68b812f76b24404
treebb07ff65b5cdfd777dd601d1b58a3233e570ee9f
parentc9132066e73d9ae077f918ffbc5105aa18c22fae
Completely reformatted, standardizing indentation as well as
programming style.

Recoded many routines to incorporate better error checking, and/or
better versions of the same function found elsewhere
(e.g. bltinmodule.c or ceval.c).  In particular,
Py_Number_{Int,Long,Float}() now convert from strings, just like the
built-in functions int(), long() and float().

Sequences and mappings are now safe to have NULL function pointers
anywhere in their tp_as_sequence or tp_as_mapping fields.  (A few
places in other files need to be checked in too.)

Renamed PySequence_In() to PySequence_Contains().
Objects/abstract.c