Searched defs:__exit__ (Results 1 - 25 of 64) sorted by relevance

123

/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
H A Drunpy.py40 def __exit__(self, *args): member in class:_TempModule
58 def __exit__(self, *args): member in class:_ModifiedArgv0
H A Dwarnings.py355 def __exit__(self, *exc_info): member in class:catch_warnings
H A D_weakrefset.py26 def __exit__(self, e, t, b): member in class:_IterationGuard
H A Dcodecs.py388 def __exit__(self, type, value, tb): member in class:StreamWriter
633 def __exit__(self, type, value, tb): member in class:StreamReader
720 def __exit__(self, type, value, tb): member in class:StreamReaderWriter
836 def __exit__(self, type, value, tb): member in class:StreamRecoder
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
H A Dcalendar.py497 def __exit__(self, *args): member in class:TimeEncoding
/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
H A Drunpy.py40 def __exit__(self, *args): member in class:_TempModule
58 def __exit__(self, *args): member in class:_ModifiedArgv0
H A Dwarnings.py355 def __exit__(self, *exc_info): member in class:catch_warnings
H A D_weakrefset.py26 def __exit__(self, e, t, b): member in class:_IterationGuard
H A Dcodecs.py388 def __exit__(self, type, value, tb): member in class:StreamWriter
633 def __exit__(self, type, value, tb): member in class:StreamReader
720 def __exit__(self, type, value, tb): member in class:StreamReaderWriter
836 def __exit__(self, type, value, tb): member in class:StreamRecoder
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/python/darwin-x86/2.7.5/lib/python2.7/test/
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_pdb.py82 def __exit__(self, *exc): member in class:PdbTestInput
H A Dtest_compiler.py14 def __exit__(self, *exc_info): member in class:TrivialContext
207 def __exit__(self, *args): member in class:CompilerTest.testWithMult.Ctx
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_importlib.py112 def __exit__(self, *exc_info): member in class:mock_modules
113 self._uncache.__exit__(None, None, None)
H A Dtest_pdb.py82 def __exit__(self, *exc): member in class:PdbTestInput
H A Dtest_compiler.py14 def __exit__(self, *exc_info): member in class:TrivialContext
207 def __exit__(self, *args): member in class:CompilerTest.testWithMult.Ctx
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/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 307 milliseconds

123