Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dsched.py53 _sentinel = object() variable
65 def enterabs(self, time, priority, action, argument=(), kwargs=_sentinel):
72 if kwargs is _sentinel:
79 def enter(self, delay, priority, action, argument=(), kwargs=_sentinel):
Drunpy.py51 self._saved_value = self._sentinel = object()
54 if self._saved_value is not self._sentinel:
60 self.value = self._sentinel
Dinspect.py1561 _sentinel = object() variable
1572 return dict.get(instance_dict, attr, _sentinel)
1577 if _shadowed_dict(type(entry)) is _sentinel:
1582 return _sentinel
1603 return _sentinel
1605 def getattr_static(obj, attr, default=_sentinel):
1616 instance_result = _sentinel
1620 if (dict_attr is _sentinel or
1628 if instance_result is not _sentinel and klass_result is not _sentinel:
1629 if (_check_class(type(klass_result), '__get__') is not _sentinel and
[all …]
/external/python/cpython3/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
/external/python/cpython2/Lib/
Drunpy.py50 self._saved_value = self._sentinel = object()
53 if self._saved_value is not self._sentinel:
59 self.value = self._sentinel
/external/python/cpython2/Lib/multiprocessing/
Dqueues.py228 buffer.append(_sentinel)
240 sentinel = _sentinel
285 _sentinel = object() variable
/external/python/cpython3/Lib/tkinter/test/
Dwidget_tests.py22 _sentinel = object() variable
49 def checkParam(self, widget, name, value, *, expected=_sentinel,
52 if expected is _sentinel:
162 expected = _sentinel
/external/python/cpython2/Lib/lib-tk/test/
Dwidget_tests.py27 _sentinel = object() variable
54 def checkParam(self, widget, name, value, expected=_sentinel,
57 if expected is _sentinel:
184 expected = _sentinel
/external/python/cpython2/Lib/xml/etree/
DElementTree.py1453 _sentinel = ['sentinel'] variable
1470 def __init__(self, html=_sentinel, target=None, encoding=None):
1471 if html is not _sentinel:
/external/python/cpython3/Lib/logging/
Dhandlers.py1442 _sentinel = None variable in QueueListener
1513 if record is self._sentinel:
1531 self.queue.put_nowait(self._sentinel)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.nn.pbtxt353 …argspec: "args=[\'_sentinel\', \'labels\', \'logits\', \'name\'], varargs=None, keywords=None, def…
365 …argspec: "args=[\'_sentinel\', \'labels\', \'logits\', \'dim\', \'name\', \'axis\'], varargs=None,…
389 …argspec: "args=[\'_sentinel\', \'labels\', \'logits\', \'name\'], varargs=None, keywords=None, def…
/external/tensorflow/tensorflow/python/ops/
Dnn_impl.py116 _sentinel=None, argument
163 nn_ops._ensure_xent_args("sigmoid_cross_entropy_with_logits", _sentinel,
Dnn_ops.py3999 _sentinel=None, # pylint: disable=invalid-name argument
4053 _ensure_xent_args("softmax_cross_entropy_with_logits", _sentinel, labels,
4067 _sentinel=None, # pylint: disable=invalid-name argument
4120 _ensure_xent_args("sparse_softmax_cross_entropy_with_logits", _sentinel,
/external/python/cpython3/Lib/test/
Dtest_logging.py3695 expected = [[], [logging.handlers.QueueListener._sentinel]]