Fix docstring indentation (docs env)
This commit is contained in:
parent
88bf01a31e
commit
2eaf3db6ae
|
@ -407,17 +407,16 @@ class ExceptionInfo(object):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_current(cls, exprinfo=None):
|
def from_current(cls, exprinfo=None):
|
||||||
"""returns a exceptioninfo matching the current traceback
|
"""returns an ExceptionInfo matching the current traceback
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
experimental api
|
Experimental API
|
||||||
|
|
||||||
|
|
||||||
:param exprinfo: an text string helping to determine if we should
|
:param exprinfo: a text string helping to determine if we should
|
||||||
strip assertionerror from the output, defaults
|
strip ``AssertionError`` from the output, defaults
|
||||||
to the exception message/__str__()
|
to the exception message/``__str__()``
|
||||||
|
|
||||||
"""
|
"""
|
||||||
tup = sys.exc_info()
|
tup = sys.exc_info()
|
||||||
_striptext = ""
|
_striptext = ""
|
||||||
|
|
Loading…
Reference in New Issue