Home
last modified time | relevance | path

Searched refs:SomeException (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/
Dtest_cmath.py209 class SomeException(Exception): class
213 raise SomeException
216 raise SomeException
271 self.assertRaises(SomeException, f, MyComplexException())
272 self.assertRaises(SomeException, f, MyComplexExceptionOS())
/third_party/python/Doc/library/
Dexceptions.rst118 shows how we can convert an instance of ``SomeException`` into an
122 original ``SomeException`` had we allowed it to propagate to the caller. ::
126 except SomeException:
Dunittest.rst975 with self.assertRaises(SomeException):
985 with self.assertRaises(SomeException) as cm:
/third_party/python/Doc/whatsnew/
D3.0.rst717 :samp:`except {SomeException} as {variable}` instead
718 of :samp:`except {SomeException}, {variable}`. Moreover, the
/third_party/python/Misc/
DHISTORY5262 ignore specified exceptions, replacing the "except SomeException: pass" idiom.