Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 4, 2021. It is now read-only.

Commit f8653e8

Browse files
committed
updates
1 parent 4d86856 commit f8653e8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

‎src/PythonDebugTools/__version__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# ------------------------------------------------------------------------------
66

77
# major.minor[.maintenance]
8-
VERSION = (2, 1, 1)
8+
VERSION = (2, 1, 2)
99

1010
version = '.'.join(map(str, VERSION))
1111

‎src/PythonDebugTools/console.py‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010

1111
__all__ = [
12-
# 'getPPrintStr', 'print_exception', 'check', 'get_func_details', 'print_signature'
13-
'PRINT', 'Print',
12+
# 'getPPrintStr', 'check', 'get_func_details', 'print_signature'
13+
'PRINT', 'Print','print_exception',
1414
# 'TITLE_TAG', 'DEFAULT_TAG', 'END_TAG',
1515
'Printer', 'pp', 'CallStack',
1616
'GetFunctionName', 'GetFuncModule',
@@ -202,3 +202,6 @@ def PRINT(title: str, *args, tag: str = pp.TITLE_TAG, **kwargs):
202202
def Print(*args):
203203
with pp:
204204
return pp.Print(*args)
205+
206+
207+
def print_exception(e: Exception): return pp.print_exception(e)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /