summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-09-03 20:32:55 (GMT)
committerGuido van Rossum <guido@python.org>1992-09-03 20:32:55 (GMT)
commit2e8f6140ff8dfc5d5d81825ac7ec8826f750fede (patch)
treec6c95cd5c60b3f437238979ce8205881b1c2b7a2 /Include/object.h
parent99bec95482db5a395f450c972e5d947af42a01fd (diff)
downloadcpython-2e8f6140ff8dfc5d5d81825ac7ec8826f750fede.zip
cpython-2e8f6140ff8dfc5d5d81825ac7ec8826f750fede.tar.gz
cpython-2e8f6140ff8dfc5d5d81825ac7ec8826f750fede.tar.bz2
If a type has a repr function but no print function, printing it now
calls the repr function. When the refcount is bad, don't print the object at all (chances of crashes). Changes to checking and printing of references: the consistency check is somewhat faster; don't print strings referenced once (most occur in function's name lists).
Diffstat (limited to 'Include/object.h')
0 files changed, 0 insertions, 0 deletions