comparison Python/modsupport.c @ 20737:00a581bdedeb legacy-trunk

When overriding __str__ or __repr__, set the tp_print slot to NULL.
author Guido van Rossum <guido@python.org>
date Mon, 29 Oct 2001 14:33:44 +0000
parents 7257e87e0720
children 1cef61d59478 ddc9543c76a0
comparison
equal deleted inserted replaced
20736:a7884e7eecc9 20737:00a581bdedeb