Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 3609:0b0c4ed1936a legacy-trunk
rename printrefs, getobjects to _Py_ prefix
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 24 May 1996 20:48:31 +0000 |
| parents | e2b3a696d69c |
| children | 1427d61f1307 |
comparison
equal
deleted
inserted
replaced
| 3608:8573e65fa948 | 3609:0b0c4ed1936a |
|---|---|
| 656 fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); | 656 fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); |
| 657 #endif | 657 #endif |
| 658 | 658 |
| 659 #ifdef Py_TRACE_REFS | 659 #ifdef Py_TRACE_REFS |
| 660 if (askyesno("Print left references?")) { | 660 if (askyesno("Print left references?")) { |
| 661 printrefs(stderr); | 661 _Py_PrintReferences(stderr); |
| 662 } | 662 } |
| 663 #endif /* Py_TRACE_REFS */ | 663 #endif /* Py_TRACE_REFS */ |
| 664 | 664 |
| 665 #ifdef macintosh | 665 #ifdef macintosh |
| 666 PyMac_Exit(sts); | 666 PyMac_Exit(sts); |
