You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//| .. note:: Setting ``chain`` will have no effect as chained exceptions are not yet implemented.
122
132
//|
123
-
//| :param Type[BaseException] etype: This is ignored and inferred from the type of ``value``.
124
-
//| :param BaseException value: The exception. Must be an instance of `BaseException`.
125
-
//| :param TracebackType tb: The traceback object. If `None`, the traceback will not be printed.
133
+
//| :param exc: The exception. Must be an instance of `BaseException`. Unused if value is specified.
134
+
//| :param value: If specified, is used in place of ``exc``.
135
+
//| :param TracebackType tb: When value is alsp specified, ``tb`` is used in place of the exception's own traceback. If `None`, the traceback will not be printed.
126
136
//| :param int limit: Print up to limit stack trace entries (starting from the caller’s frame) if limit is positive.
127
137
//| Otherwise, print the last ``abs(limit)`` entries. If limit is omitted or None, all entries are printed.
128
138
//| :param bool chain: If `True` then chained exceptions will be printed (note: not yet implemented).
0 commit comments