Home
last modified time | relevance | path

Searched refs:_sentinel (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Lib/
Dsched.py49 _sentinel = object() variable
62 def enterabs(self, time, priority, action, argument=(), kwargs=_sentinel):
69 if kwargs is _sentinel:
78 def enter(self, delay, priority, action, argument=(), kwargs=_sentinel):
Dtraceback.py91 _sentinel = _Sentinel() variable
94 if (value is _sentinel) != (tb is _sentinel):
96 if value is tb is _sentinel:
104 def print_exception(exc, /, value=_sentinel, tb=_sentinel, limit=None, \
124 def format_exception(exc, /, value=_sentinel, tb=_sentinel, limit=None, \
139 def format_exception_only(exc, /, value=_sentinel):
153 if value is _sentinel:
Drunpy.py50 self._saved_value = self._sentinel = object()
53 if self._saved_value is not self._sentinel:
59 self.value = self._sentinel
Dinspect.py1687 _sentinel = object() variable
1698 return dict.get(instance_dict, attr, _sentinel)
1703 if _shadowed_dict(type(entry)) is _sentinel:
1708 return _sentinel
1729 return _sentinel
1731 def getattr_static(obj, attr, default=_sentinel):
1742 instance_result = _sentinel
1746 if (dict_attr is _sentinel or
1754 if instance_result is not _sentinel and klass_result is not _sentinel:
1755 if (_check_class(type(klass_result), '__get__') is not _sentinel and
[all …]
/third_party/python/Lib/test/support/
Dinterpreters.py149 def recv(self, *, _sentinel=object(), _delay=10 / 1000): # 10 milliseconds argument
155 obj = _interpreters.channel_recv(self._id, _sentinel)
156 while obj is _sentinel:
158 obj = _interpreters.channel_recv(self._id, _sentinel)
/third_party/python/Lib/multiprocessing/
Dprocess.py122 self._sentinel = self._popen.sentinel
185 del self._sentinel
255 return self._sentinel
367 self._sentinel = sentinel
372 return not wait([self._sentinel], timeout=0)
383 wait([self._sentinel], timeout=timeout)
Dqueues.py210 buffer.append(_sentinel)
221 sentinel = _sentinel
285 _sentinel = object() variable
/third_party/python/Lib/tkinter/test/
Dwidget_tests.py21 _sentinel = object() variable
48 def checkParam(self, widget, name, value, *, expected=_sentinel,
51 if expected is _sentinel:
161 expected = _sentinel
/third_party/python/Lib/logging/
Dhandlers.py1472 _sentinel = None variable in QueueListener
1543 if record is self._sentinel:
1561 self.queue.put_nowait(self._sentinel)
/third_party/python/Doc/faq/
Dprogramming.rst1826 _sentinel = object()
1828 def pop(self, key, default=_sentinel):
1833 if default is _sentinel:
/third_party/python/Lib/test/
Dtest_logging.py3708 expected = [[], [logging.handlers.QueueListener._sentinel]]