Lines Matching refs:limit
46 def print_tb(tb, limit=None, file=None): argument
56 if limit is None:
58 limit = sys.tracebacklimit
60 while tb is not None and (limit is None or n < limit):
74 def format_tb(tb, limit = None): argument
76 return format_list(extract_tb(tb, limit))
78 def extract_tb(tb, limit = None): argument
89 if limit is None:
91 limit = sys.tracebacklimit
94 while tb is not None and (limit is None or n < limit):
110 def print_exception(etype, value, tb, limit=None, file=None): argument
125 print_tb(tb, limit, file)
130 def format_exception(etype, value, tb, limit = None): argument
141 list = list + format_tb(tb, limit)
225 def print_exc(limit=None, file=None): argument
233 print_exception(etype, value, tb, limit, file)
238 def format_exc(limit=None): argument
242 return ''.join(format_exception(etype, value, tb, limit))
247 def print_last(limit=None, file=None): argument
255 limit, file)
258 def print_stack(f=None, limit=None, file=None): argument
270 print_list(extract_stack(f, limit), file)
272 def format_stack(f=None, limit=None): argument
279 return format_list(extract_stack(f, limit))
281 def extract_stack(f=None, limit = None): argument
295 if limit is None:
297 limit = sys.tracebacklimit
300 while f is not None and (limit is None or n < limit):