Add depreciation warning for sys.print_exception

This commit is contained in:
RetiredWizard 2024-07-22 22:54:13 -04:00
parent 3825822833
commit 01fb9de802

View file

@ -17,6 +17,9 @@ Functions
.. function:: print_exception(exc, file=sys.stdout, /)
This function is being deprecated and will be removed starting in
CircuitPython 10.x, `traceback.print_exception()` should be used instead.
Print exception with a traceback to a file-like object *file* (or
`sys.stdout` by default).