summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-16 08:27:33 +0000
committerGuido van Rossum <guido@python.org>2001-08-16 08:27:33 +0000
commit8098ddbe814325c7869f7d63aa102019b353c6b6 (patch)
tree929d7350b692aacd2d04466ace7f52e7f89d0837 /Python/sysmodule.c
parentf6309e8ecf293f5dbab031b1b8068771d5ac9a8f (diff)
downloadcpython-git-8098ddbe814325c7869f7d63aa102019b353c6b6.tar.gz
Subtle change to make None.__class__ work:
- descrobject.c:descr_check(): only believe None means the same as NULL if the type given is None's type. - typeobject.c:wrap_descr_get(): don't "conventiently" default an absent type to the type of the object argument. Let the called function figure it out.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions