mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
merge with 3.3
This commit is contained in:
commit
64bed06036
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ def print_tb(tb, limit=None, file=None):
|
||||||
print_list(extract_tb(tb, limit=limit), file=file)
|
print_list(extract_tb(tb, limit=limit), file=file)
|
||||||
|
|
||||||
def format_tb(tb, limit=None):
|
def format_tb(tb, limit=None):
|
||||||
"""A shorthand for 'format_list(extract_tb(tb, limit))."""
|
"""A shorthand for 'format_list(extract_tb(tb, limit))'."""
|
||||||
return format_list(extract_tb(tb, limit=limit))
|
return format_list(extract_tb(tb, limit=limit))
|
||||||
|
|
||||||
def extract_tb(tb, limit=None):
|
def extract_tb(tb, limit=None):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue