Mercurial > cpython-lru_cache-weakref
diff 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 |
