* mpzmodule.c: cast some methods to the proper type.

* traceback.c (tb_print): use sys.tracebacklimit as a maximum number of
  traceback entries to print (default 1000).
* ceval.c (printtraceback): Don't print stack trace header -- this is now
  done by tb_print().
This commit is contained in:
Guido van Rossum 1993-12-17 12:09:14 +00:00
parent ad7324c71f
commit 67a5fdbcc2
3 changed files with 31 additions and 12 deletions

View file

@ -1710,7 +1710,6 @@ printtraceback(f)
{
object *v = tb_fetch();
if (v != NULL) {
writestring("Stack backtrace (innermost last):\n", f);
tb_print(v, f);
DECREF(v);
}