Home
last modified time | relevance | path

Searched refs:format_exception_only (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_traceback.py21 return traceback.format_exception_only(exc, value)
127 lst = traceback.format_exception_only(e.__class__, e)
148 err = traceback.format_exception_only(str_type, None)
155 err = traceback.format_exception_only(str_type, str_value)
163 err = traceback.format_exception_only(X, X())
169 err = traceback.format_exception_only(None, None)
174 lines = traceback.format_exception_only(type(err), err)
178 lines = traceback.format_exception_only(type(err), err)
/external/python/cpython2/Lib/
Dtraceback.py126 lines = format_exception_only(etype, value)
144 list = list + format_exception_only(etype, value)
147 def format_exception_only(etype, value): function
Dcode.py138 list = traceback.format_exception_only(type, value)
159 list[len(list):] = traceback.format_exception_only(type, value)
Dpy_compile.py48 tbtext = ''.join(traceback.format_exception_only(exc_type, exc_value))
Dcgi.py937 traceback.format_exception_only(type, value)
Ddoctest.py1337 exc_msg = traceback.format_exception_only(*exc_info[:2])[-1]
/external/python/cpython3/Lib/
Dtraceback.py124 def format_exception_only(etype, value): function
140 return list(TracebackException(etype, value, None).format_exception_only())
547 def format_exception_only(self): member in TracebackException
622 yield from self.format_exception_only()
Dpy_compile.py49 tbtext = ''.join(traceback.format_exception_only(
Dcode.py124 lines = traceback.format_exception_only(type, value)
Dpdb.py312 traceback.format_exception_only(exc_type, exc_value)[-1].strip()))
388 self.error(traceback.format_exception_only(*exc_info)[-1].strip())
1107 self.error(traceback.format_exception_only(*exc_info)[-1].strip())
1166 self.error(traceback.format_exception_only(*exc_info)[-1].strip())
1177 err = traceback.format_exception_only(*exc_info)[-1].strip()
Dcgi.py883 traceback.format_exception_only(type, value)
Dpydoc.py76 from traceback import format_exception_only
2631 format_exception_only(type(exc), exc))
Ddoctest.py1358 exc_msg = traceback.format_exception_only(*exception[:2])[-1]
/external/python/cpython3/Lib/asyncio/
Dbase_tasks.py84 for line in traceback.format_exception_only(exc.__class__, exc):
/external/chromium-trace/catapult/devil/devil/android/
Dports.py179 exception_error_msgs = traceback.format_exception_only(type(e), e)
/external/python/cpython3/Lib/test/
Dtest_traceback.py30 return traceback.format_exception_only(exc, value)
71 err = traceback.format_exception_only(SyntaxError, exc)
92 lst = traceback.format_exception_only(e.__class__, e)
99 err = traceback.format_exception_only(X, X())
/external/python/cpython2/Doc/library/
Dtraceback.rst102 .. function:: format_exception_only(etype, value)
280 >>> traceback.format_exception_only(type(an_error), an_error)
Ddoctest.rst1319 :func:`traceback.format_exception_only`. :attr:`exc_msg` ends with a newline
/external/python/cpython2/Lib/idlelib/
Drun.py183 lines = traceback.format_exception_only(typ, val)
/external/python/cpython3/Doc/library/
Dtraceback.rst124 .. function:: format_exception_only(etype, value)
262 .. method:: format_exception_only()
485 >>> traceback.format_exception_only(type(an_error), an_error)
Ddoctest.rst1275 :func:`traceback.format_exception_only`. :attr:`exc_msg` ends with a newline
/external/python/cpython3/Lib/idlelib/
Drun.py243 lines = traceback.format_exception_only(typ, exc)
/external/autotest/client/cros/faft/
Drpc_functions.py143 traceback.format_exception_only(exc_class, exc))
/external/python/cpython2/Misc/NEWS.d/
D2.7b2.rst168 ``traceback.format_exception_only()`` encodes unicode message to ASCII with
D2.6a1.rst3752 Fix a bug in traceback.format_exception_only() that led to an error being