Searched refs:__exit__ (Results 1 - 25 of 172) sorted by relevance

1234567

/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Dcontextlib.py21 def __exit__(self, type, value, traceback): member in class:GeneratorContextManager
44 # passed to throw(), because __exit__() must not raise
45 # an exception unless __exit__() itself failed. But throw()
48 # and the __exit__() protocol.
110 exit = mgr.__exit__
153 def __exit__(self, *exc_info): member in class:closing
H A Ddummy_thread.py118 def __exit__(self, typ, val, tb): member in class:LockType
H A Dtempfile.py419 # Need to trap __exit__ as well to ensure the file gets
421 def __exit__(self, exc, value, tb): function in function:_TemporaryFileWrapper.__enter__
422 result = self.file.__exit__(exc, value, tb)
426 def __exit__(self, exc, value, tb): function in function:_TemporaryFileWrapper.__enter__
427 self.file.__exit__(exc, value, tb)
539 def __exit__(self, exc, value, tb): member in class:SpooledTemporaryFile
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Dcontextlib.py21 def __exit__(self, type, value, traceback): member in class:GeneratorContextManager
44 # passed to throw(), because __exit__() must not raise
45 # an exception unless __exit__() itself failed. But throw()
48 # and the __exit__() protocol.
110 exit = mgr.__exit__
153 def __exit__(self, *exc_info): member in class:closing
H A Ddummy_thread.py118 def __exit__(self, typ, val, tb): member in class:LockType
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dcontextlib.py21 def __exit__(self, type, value, traceback): member in class:GeneratorContextManager
44 # passed to throw(), because __exit__() must not raise
45 # an exception unless __exit__() itself failed. But throw()
48 # and the __exit__() protocol.
110 exit = mgr.__exit__
153 def __exit__(self, *exc_info): member in class:closing
H A Ddummy_thread.py118 def __exit__(self, typ, val, tb): member in class:LockType
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dcontextlib.py21 def __exit__(self, type, value, traceback): member in class:GeneratorContextManager
44 # passed to throw(), because __exit__() must not raise
45 # an exception unless __exit__() itself failed. But throw()
48 # and the __exit__() protocol.
110 exit = mgr.__exit__
153 def __exit__(self, *exc_info): member in class:closing
H A Ddummy_thread.py118 def __exit__(self, typ, val, tb): member in class:LockType
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_with.py27 def __exit__(self, type, value, traceback): member in class:MockContextManager
30 return GeneratorContextManager.__exit__(self, type,
72 if not self.__exit__(*sys.exc_info()):
76 def __exit__(self, *exc_info): member in class:Nested
83 if mgr.__exit__(*ex):
103 def __exit__(self, *exc_info): member in class:MockNested
106 return Nested.__exit__(self, *exc_info)
117 def __exit__(self, type, value, traceback): member in class:FailureTestCase.testEnterAttributeError.LacksEnter
166 def __exit__(self, *args): member in class:FailureTestCase.testEnterThrows.EnterThrows
181 def __exit__(sel member in class:FailureTestCase.testExitThrows.ExitThrows
465 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedStopIteration2.cm
504 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedGeneratorExit2.cm
525 def __exit__(self, a, b, c): member in class:ExceptionalTestCase.testErrorsInBool.cm
623 def __exit__(self, t, v, tb): pass member in class:AssignmentTargetTestCase.testMultipleComplexTargets.C
644 def __exit__(self, t, v, tb): return True member in class:ExitSwallowsExceptionTestCase.testExitTrueSwallowsException.AfricanSwallow
654 def __exit__(self, t, v, tb): return False member in class:ExitSwallowsExceptionTestCase.testExitFalseDoesntSwallowException.EuropeanSwallow
679 def __exit__(self, *exc_info): member in class:NestedWith.Dummy
690 def __exit__(self, *exc_info): pass member in class:NestedWith.EnterRaises
694 def __exit__(self, *exc_info): raise RuntimeError() member in class:NestedWith.ExitRaises
[all...]
H A Dtest_importlib.py112 def __exit__(self, *exc_info): member in class:mock_modules
113 self._uncache.__exit__(None, None, None)
H A Dtest_contextlib.py52 # Calling __exit__ should not result in an exception
53 self.assertFalse(ctx.__exit__(TypeError, TypeError("foo"), None))
65 RuntimeError, ctx.__exit__, TypeError, TypeError("foo"), None
158 def __exit__(self, *exc_info): member in class:NestedTestCase.test_nested_right_exception.b
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_with.py27 def __exit__(self, type, value, traceback): member in class:MockContextManager
30 return GeneratorContextManager.__exit__(self, type,
72 if not self.__exit__(*sys.exc_info()):
76 def __exit__(self, *exc_info): member in class:Nested
83 if mgr.__exit__(*ex):
103 def __exit__(self, *exc_info): member in class:MockNested
106 return Nested.__exit__(self, *exc_info)
117 def __exit__(self, type, value, traceback): member in class:FailureTestCase.testEnterAttributeError.LacksEnter
166 def __exit__(self, *args): member in class:FailureTestCase.testEnterThrows.EnterThrows
181 def __exit__(sel member in class:FailureTestCase.testExitThrows.ExitThrows
465 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedStopIteration2.cm
504 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedGeneratorExit2.cm
525 def __exit__(self, a, b, c): member in class:ExceptionalTestCase.testErrorsInBool.cm
623 def __exit__(self, t, v, tb): pass member in class:AssignmentTargetTestCase.testMultipleComplexTargets.C
644 def __exit__(self, t, v, tb): return True member in class:ExitSwallowsExceptionTestCase.testExitTrueSwallowsException.AfricanSwallow
654 def __exit__(self, t, v, tb): return False member in class:ExitSwallowsExceptionTestCase.testExitFalseDoesntSwallowException.EuropeanSwallow
679 def __exit__(self, *exc_info): member in class:NestedWith.Dummy
690 def __exit__(self, *exc_info): pass member in class:NestedWith.EnterRaises
694 def __exit__(self, *exc_info): raise RuntimeError() member in class:NestedWith.ExitRaises
[all...]
H A Dtest_importlib.py112 def __exit__(self, *exc_info): member in class:mock_modules
113 self._uncache.__exit__(None, None, None)
H A Dtest_contextlib.py52 # Calling __exit__ should not result in an exception
53 self.assertFalse(ctx.__exit__(TypeError, TypeError("foo"), None))
65 RuntimeError, ctx.__exit__, TypeError, TypeError("foo"), None
158 def __exit__(self, *exc_info): member in class:NestedTestCase.test_nested_right_exception.b
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_with.py27 def __exit__(self, type, value, traceback): member in class:MockContextManager
30 return GeneratorContextManager.__exit__(self, type,
72 if not self.__exit__(*sys.exc_info()):
76 def __exit__(self, *exc_info): member in class:Nested
83 if mgr.__exit__(*ex):
103 def __exit__(self, *exc_info): member in class:MockNested
106 return Nested.__exit__(self, *exc_info)
117 def __exit__(self, type, value, traceback): member in class:FailureTestCase.testEnterAttributeError.LacksEnter
166 def __exit__(self, *args): member in class:FailureTestCase.testEnterThrows.EnterThrows
181 def __exit__(sel member in class:FailureTestCase.testExitThrows.ExitThrows
465 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedStopIteration2.cm
504 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedGeneratorExit2.cm
525 def __exit__(self, a, b, c): member in class:ExceptionalTestCase.testErrorsInBool.cm
623 def __exit__(self, t, v, tb): pass member in class:AssignmentTargetTestCase.testMultipleComplexTargets.C
644 def __exit__(self, t, v, tb): return True member in class:ExitSwallowsExceptionTestCase.testExitTrueSwallowsException.AfricanSwallow
654 def __exit__(self, t, v, tb): return False member in class:ExitSwallowsExceptionTestCase.testExitFalseDoesntSwallowException.EuropeanSwallow
679 def __exit__(self, *exc_info): member in class:NestedWith.Dummy
690 def __exit__(self, *exc_info): pass member in class:NestedWith.EnterRaises
694 def __exit__(self, *exc_info): raise RuntimeError() member in class:NestedWith.ExitRaises
[all...]
H A Dtest_importlib.py112 def __exit__(self, *exc_info): member in class:mock_modules
113 self._uncache.__exit__(None, None, None)
H A Dtest_contextlib.py52 # Calling __exit__ should not result in an exception
53 self.assertFalse(ctx.__exit__(TypeError, TypeError("foo"), None))
65 RuntimeError, ctx.__exit__, TypeError, TypeError("foo"), None
158 def __exit__(self, *exc_info): member in class:NestedTestCase.test_nested_right_exception.b
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_with.py27 def __exit__(self, type, value, traceback): member in class:MockContextManager
30 return GeneratorContextManager.__exit__(self, type,
72 if not self.__exit__(*sys.exc_info()):
76 def __exit__(self, *exc_info): member in class:Nested
83 if mgr.__exit__(*ex):
103 def __exit__(self, *exc_info): member in class:MockNested
106 return Nested.__exit__(self, *exc_info)
117 def __exit__(self, type, value, traceback): member in class:FailureTestCase.testEnterAttributeError.LacksEnter
166 def __exit__(self, *args): member in class:FailureTestCase.testEnterThrows.EnterThrows
181 def __exit__(sel member in class:FailureTestCase.testExitThrows.ExitThrows
465 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedStopIteration2.cm
504 def __exit__(self, type, value, traceback): member in class:ExceptionalTestCase.testRaisedGeneratorExit2.cm
525 def __exit__(self, a, b, c): member in class:ExceptionalTestCase.testErrorsInBool.cm
623 def __exit__(self, t, v, tb): pass member in class:AssignmentTargetTestCase.testMultipleComplexTargets.C
644 def __exit__(self, t, v, tb): return True member in class:ExitSwallowsExceptionTestCase.testExitTrueSwallowsException.AfricanSwallow
654 def __exit__(self, t, v, tb): return False member in class:ExitSwallowsExceptionTestCase.testExitFalseDoesntSwallowException.EuropeanSwallow
679 def __exit__(self, *exc_info): member in class:NestedWith.Dummy
690 def __exit__(self, *exc_info): pass member in class:NestedWith.EnterRaises
694 def __exit__(self, *exc_info): raise RuntimeError() member in class:NestedWith.ExitRaises
[all...]
H A Dtest_importlib.py112 def __exit__(self, *exc_info): member in class:mock_modules
113 self._uncache.__exit__(None, None, None)
H A Dtest_contextlib.py52 # Calling __exit__ should not result in an exception
53 self.assertFalse(ctx.__exit__(TypeError, TypeError("foo"), None))
65 RuntimeError, ctx.__exit__, TypeError, TypeError("foo"), None
158 def __exit__(self, *exc_info): member in class:NestedTestCase.test_nested_right_exception.b
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/
H A Dsynchronize.py91 def __exit__(self, *args): member in class:SemLock
92 return self._semlock.__exit__(*args)
217 def __exit__(self, *args): member in class:Condition
218 return self._lock.__exit__(*args)
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/
H A Dsynchronize.py91 def __exit__(self, *args): member in class:SemLock
92 return self._semlock.__exit__(*args)
217 def __exit__(self, *args): member in class:Condition
218 return self._lock.__exit__(*args)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
H A Dsynchronize.py91 def __exit__(self, *args): member in class:SemLock
92 return self._semlock.__exit__(*args)
217 def __exit__(self, *args): member in class:Condition
218 return self._lock.__exit__(*args)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
H A Dsynchronize.py91 def __exit__(self, *args): member in class:SemLock
92 return self._semlock.__exit__(*args)
217 def __exit__(self, *args): member in class:Condition
218 return self._lock.__exit__(*args)

Completed in 1493 milliseconds

1234567