/third_party/python/Lib/test/ |
D | test_with.py | 24 def __exit__(self, type, value, traceback): member in MockContextManager 27 return _GeneratorContextManager.__exit__(self, type, 69 if not self.__exit__(*sys.exc_info()): 73 def __exit__(self, *exc_info): member in Nested 80 if mgr.__exit__(*ex): 100 def __exit__(self, *exc_info): member in MockNested 103 return Nested.__exit__(self, *exc_info) 114 def __exit__(self, type, value, traceback): member in FailureTestCase.testEnterAttributeError1.LacksEnter 167 def __exit__(self, *args): member in FailureTestCase.testEnterThrows.EnterThrows 182 def __exit__(self, *args): member in FailureTestCase.testExitThrows.ExitThrows [all …]
|
D | test_contextlib.py | 17 def __exit__(self, *args): member in TestAbstractContextManager.test_enter.DefaultEnter 18 super().__exit__(*args) 34 def __exit__(self, exc_type, exc_value, traceback): member in TestAbstractContextManager.test_structural_subclassing.ManagerFromScratch 40 def __exit__(self, *args): member in TestAbstractContextManager.test_structural_subclassing.DefaultEnter 41 super().__exit__(*args) 51 __exit__ = None variable in TestAbstractContextManager.test_structural_subclassing.NoExit 95 self.assertFalse(ctx.__exit__(TypeError, TypeError("foo"), None)) 107 RuntimeError, ctx.__exit__, TypeError, TypeError("foo"), None 390 def __exit__(self, *exc): member in mycontext 490 def __exit__(self, *exc): member in TestContextDecorator.test_typo_enter.mycontext [all …]
|
D | test_global.py | 16 self._warnings_manager.__exit__(None, None, None)
|
D | test_file.py | 113 self.f.__exit__(None, None, None) 122 self.assertEqual(self.f.__exit__(None, None, None), None) 127 self.assertEqual(self.f.__exit__(*sys.exc_info()), None)
|
/third_party/python/Lib/ |
D | contextlib.py | 26 def __exit__(self, exc_type, exc_value, traceback): member in AbstractContextManager 121 def __exit__(self, type, value, traceback): member in _GeneratorContextManager 302 def __exit__(self, *exc_info): member in closing 320 def __exit__(self, exctype, excinst, exctb): member in _RedirectStream 363 def __exit__(self, exctype, excinst, exctb): member in suppress 411 exit_method = _cb_type.__exit__ 428 _exit = _cm_type.__exit__ 470 def __exit__(self, *exc_details): member in ExitStack 521 self.__exit__(None, None, None) 675 def __exit__(self, *excinfo): member in nullcontext
|
D | tempfile.py | 491 def __exit__(self, exc, value, tb): member in _TemporaryFileWrapper 492 result = self.file.__exit__(exc, value, tb) 680 def __exit__(self, exc, value, tb): member in SpooledTemporaryFile 825 def __exit__(self, exc, value, tb): member in TemporaryDirectory
|
D | codecs.py | 414 def __exit__(self, type, value, tb): member in StreamWriter 663 def __exit__(self, type, value, tb): member in StreamReader 750 def __exit__(self, type, value, tb): member in StreamReaderWriter 866 def __exit__(self, type, value, tb): member in StreamRecoder
|
/third_party/skia/infra/bots/ |
D | utils.py | 35 def __exit__(self, t, v, tb): member in print_timings 53 def __exit__(self, t, v, tb): member in tmp_dir 73 def __exit__(self, t, v, tb): member in chdir 110 def __exit__(self, exc_type, _value, _traceback): member in git_branch
|
D | git_utils.py | 34 def __exit__(self, exc_type, _value, _traceback): member in GitLocalConfig 88 def __exit__(self, exc_type, _value, _traceback): member in GitBranch
|
/third_party/flutter/skia/infra/bots/ |
D | utils.py | 32 def __exit__(self, t, v, tb): member in print_timings 50 def __exit__(self, t, v, tb): member in tmp_dir 70 def __exit__(self, t, v, tb): member in chdir 107 def __exit__(self, exc_type, _value, _traceback): member in git_branch
|
D | git_utils.py | 33 def __exit__(self, exc_type, _value, _traceback): member in GitLocalConfig 87 def __exit__(self, exc_type, _value, _traceback): member in GitBranch
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testwith.py | 70 mock.__exit__ = Mock() 71 mock.__exit__.return_value = False 76 mock.__exit__.assert_called_with(None, None, None) 86 self.assertTrue(mock.__exit__.called) 161 call().__exit__(None, None, None)] 175 call().__exit__(None, None, None), 177 call().__exit__(None, None, None)]
|
/third_party/flutter/skia/tools/skpbench/ |
D | _hardware_android.py | 60 def __exit__(self, exception_type, exception_value, traceback): member in HardwareAndroid 61 Hardware.__exit__(self, exception_type, exception_value, traceback)
|
D | _hardware.py | 29 def __exit__(self, exception_type, exception_value, traceback): member in Hardware
|
/third_party/python/Lib/multiprocessing/dummy/ |
D | connection.py | 36 def __exit__(self, exc_type, exc_value, exc_tb): member in Listener 74 def __exit__(self, exc_type, exc_value, exc_tb): member in Connection
|
/third_party/skia/tools/skpbench/ |
D | _hardware_android.py | 71 def __exit__(self, exception_type, exception_value, traceback): member in HardwareAndroid 72 Hardware.__exit__(self, exception_type, exception_value, traceback)
|
/third_party/python/Lib/multiprocessing/ |
D | synchronize.py | 97 def __exit__(self, *args): member in SemLock 98 return self._semlock.__exit__(*args) 232 def __exit__(self, *args): member in Condition 233 return self._lock.__exit__(*args)
|
D | sharedctypes.py | 195 def __exit__(self, *args): member in SynchronizedBase 196 return self._lock.__exit__(*args)
|
/third_party/python/Doc/library/ |
D | contextlib.rst | 24 :meth:`object.__enter__` and :meth:`object.__exit__`. A default 26 ``self`` while :meth:`object.__exit__` is an abstract method which by default 48 create a class or separate :meth:`__enter__` and :meth:`__exit__` methods. 283 ``__enter__`` and ``__exit__`` as normal. ``__exit__`` retains its optional 298 def __exit__(self, *exc): 342 def __exit__(self, *exc): 394 Enters a new context manager and adds its :meth:`__exit__` method to 403 Adds a context manager's :meth:`__exit__` method to the callback stack. 407 :meth:`__exit__` method. 411 :meth:`__exit__` method and adds it directly to the callback stack. [all …]
|
/third_party/grpc/src/python/grpcio/grpc/framework/foundation/ |
D | logging_pool.py | 47 def __exit__(self, exc_type, exc_val, exc_tb): member in _LoggingPool
|
/third_party/python/Lib/asyncio/ |
D | trsock.py | 204 def __exit__(self, *err): member in TransportSocket 206 return self._sock.__exit__(*err)
|
/third_party/python/Lib/test/test_importlib/ |
D | util.py | 250 def __exit__(self, *exc_info): member in _ImporterMock 251 self._uncache.__exit__(None, None, None) 396 state_manager.__exit__(None, None, None) 398 uncache_manager.__exit__(None, None, None)
|
/third_party/grpc/src/python/grpcio_testing/grpc_testing/_channel/ |
D | _channel.py | 67 def __exit__(self, exc_type, exc_val, exc_tb): member in TestingChannel
|
/third_party/boost/libs/metaparse/tools/ |
D | string_headers.py | 49 def __exit__(self, typ, value, traceback): member in Namespace 83 def __exit__(self, typ, value, traceback): member in IncludeGuard
|
/third_party/python/Lib/urllib/ |
D | response.py | 33 def __exit__(self, type, value, traceback): member in addbase
|