mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
10
stdlib/3/traceback.pyi
Normal file
10
stdlib/3/traceback.pyi
Normal file
@@ -0,0 +1,10 @@
|
||||
# Stubs for traceback
|
||||
|
||||
import typing
|
||||
|
||||
# TODO signatures
|
||||
def format_exception_only(etype, value): ...
|
||||
def format_tb(traceback): ...
|
||||
def print_exc(limit=None, file=None, chain=True): ...
|
||||
|
||||
# TODO add more
|
||||
Reference in New Issue
Block a user