summaryrefslogtreecommitdiff
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-22 00:47:05 +0000
committerGuido van Rossum <guido@python.org>1998-05-22 00:47:05 +0000
commitcea1c8ca22b318ce38a9a135c68b812f76b24404 (patch)
treebb07ff65b5cdfd777dd601d1b58a3233e570ee9f /Python/bltinmodule.c
parentc9132066e73d9ae077f918ffbc5105aa18c22fae (diff)
downloadcpython-git-cea1c8ca22b318ce38a9a135c68b812f76b24404.tar.gz
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().
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions