]> granicus.if.org Git - python/commit
Moved cmp_member() to abstract.c, as PySequence_Contains() [with
authorGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:52:29 +0000 (00:52 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 22 May 1998 00:52:29 +0000 (00:52 +0000)
commit7e33c6e89673afd4791f35aef6893a04b0218849
tree8a524d76838cd5d9b920d5ee498a4af2d9210304
parent09df08a105c054a82c1c3d52efa2a21553c0b4d1
Moved cmp_member() to abstract.c, as PySequence_Contains() [with
swapped arguments].

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.
Python/ceval.c