Home
last modified time | relevance | path

Searched refs:__doc__ (Results 1 – 25 of 718) sorted by relevance

12345678910>>...29

/external/python/pybind11/tests/
Dtest_docstring_options.py7 assert not m.test_function1.__doc__
9 assert m.test_function2.__doc__ == "A custom docstring"
12 assert m.test_overloaded1.__doc__ == "Overload docstring"
15 assert m.test_overloaded2.__doc__ == "overload docstring 1\noverload docstring 2"
18 assert m.test_overloaded3.__doc__ == "Overload docstr"
21 assert m.test_function3.__doc__.startswith("test_function3(a: int, b: int) -> None")
23 assert m.test_function4.__doc__.startswith("test_function4(a: int, b: int) -> None")
24 assert m.test_function4.__doc__.endswith("A custom docstring\n")
28 assert not m.test_function5.__doc__
31 assert m.test_function6.__doc__ == "A custom docstring"
[all …]
/external/python/pyasn1/pyasn1/type/
Dchar.py161 __doc__ = AbstractCharacterString.__doc__ variable in NumericString
176 __doc__ = AbstractCharacterString.__doc__ variable in PrintableString
191 __doc__ = AbstractCharacterString.__doc__ variable in TeletexString
206 __doc__ = TeletexString.__doc__ variable in T61String
213 __doc__ = AbstractCharacterString.__doc__ variable in VideotexString
228 __doc__ = AbstractCharacterString.__doc__ variable in IA5String
243 __doc__ = AbstractCharacterString.__doc__ variable in GraphicString
258 __doc__ = AbstractCharacterString.__doc__ variable in VisibleString
273 __doc__ = VisibleString.__doc__ variable in ISO646String
279 __doc__ = AbstractCharacterString.__doc__ variable in GeneralString
[all …]
Duseful.py23 __doc__ = char.GraphicString.__doc__ variable in ObjectDescriptor
161 __doc__ = char.VisibleString.__doc__ variable in GeneralizedTime
178 __doc__ = char.VisibleString.__doc__ variable in UTCTime
/external/python/cpython3/Lib/test/
Dtest_property.py107 self.assertEqual(sub.__class__.spam.__doc__, "SubClass.getter")
113 self.assertEqual(base.__class__.spam.__doc__, "BaseClass.getter")
118 self.assertEqual(base.__class__.spam.__doc__, "spam spam spam")
119 self.assertEqual(sub.__class__.spam.__doc__, "spam spam spam")
126 self.assertEqual(newgettersub.__class__.spam.__doc__, "new docstring")
129 self.assertEqual(newgetter.__class__.spam.__doc__, "new docstring")
158 self.assertEqual(p.__doc__, 'basic')
159 p.__doc__ = 'extended'
160 self.assertEqual(p.__doc__, 'extended')
173 self.assertEqual(sub.__class__.spam.__doc__, 'Eggs')
[all …]
Dtest_dynamicclassattribute.py124 self.assertEqual(sub.__class__.__dict__['spam'].__doc__, "SubClass.getter")
130 self.assertEqual(base.__class__.__dict__['spam'].__doc__, "BaseClass.getter")
135 self.assertEqual(base.__class__.__dict__['spam'].__doc__, "spam spam spam")
136 self.assertEqual(sub.__class__.__dict__['spam'].__doc__, "spam spam spam")
143 self.assertEqual(newgettersub.__class__.__dict__['spam'].__doc__, "new docstring")
146 self.assertEqual(newgetter.__class__.__dict__['spam'].__doc__, "new docstring")
218 print('\n',spam.__doc__)
233 Foo.__dict__['spam'].__doc__,
254 Foo.__dict__['spam'].__doc__,
267 FooSub.__dict__['spam'].__doc__,
[all …]
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_event.py172 trace_enable.__doc__ = """Enables tracing.
193 trace_disable.__doc__ = """Disables tracing, if enabled.
199 trace_flush.__doc__ = """Flushes any currently-recorded trace data to disk.
205 trace_is_enabled.__doc__ = """Returns whether tracing is enabled.
208 trace_begin.__doc__ = """Records the beginning of an event of the given name.
238 trace_end.__doc__ = """Records the end of an event of the given name.
247 trace_set_thread_name.__doc__ = """Sets the trace's name for the current thread.
250 trace.__doc__ = """Traces a block of code using a with statement.
261 traced.__doc__ = """Traces the provided function.
278 clock_sync.__doc__ = """Issues a clock sync marker event.
/external/python/cpython2/Lib/
Dio.py71 __doc__ = _io._IOBase.__doc__ variable in IOBase
74 __doc__ = _io._RawIOBase.__doc__ variable in RawIOBase
77 __doc__ = _io._BufferedIOBase.__doc__ variable in BufferedIOBase
80 __doc__ = _io._TextIOBase.__doc__ variable in TextIOBase
/external/python/cpython3/Lib/
Dio.py73 __doc__ = _io._IOBase.__doc__ variable in IOBase
76 __doc__ = _io._RawIOBase.__doc__ variable in RawIOBase
79 __doc__ = _io._BufferedIOBase.__doc__ variable in BufferedIOBase
82 __doc__ = _io._TextIOBase.__doc__ variable in TextIOBase
/external/tensorflow/tensorflow/python/ops/
Dstring_ops.py71 regex_full_match.__doc__ = gen_string_ops.regex_full_match.__doc__
376 reduce_join.__doc__ = reduce_join_v2.__doc__
416 string_length_v2.__doc__ = gen_string_ops.string_length.__doc__
425 substr_deprecated.__doc__ = gen_string_ops.substr.__doc__
433 substr.__doc__ = gen_string_ops.substr.__doc__
441 substr_v2.__doc__ = gen_string_ops.substr.__doc__
495 string_to_number_v1.__doc__ = gen_parsing_ops.string_to_number.__doc__
539 string_to_hash_bucket_v1.__doc__ = gen_string_ops.string_to_hash_bucket.__doc__
/external/python/cpython2/Lib/test/
Dtest_property.py107 self.assertEqual(sub.__class__.spam.__doc__, "SubClass.getter")
113 self.assertEqual(base.__class__.spam.__doc__, "BaseClass.getter")
118 self.assertEqual(base.__class__.spam.__doc__, "spam spam spam")
119 self.assertEqual(sub.__class__.spam.__doc__, "spam spam spam")
126 self.assertEqual(newgettersub.__class__.spam.__doc__, "new docstring")
129 self.assertEqual(newgetter.__class__.spam.__doc__, "new docstring")
163 Foo.spam.__doc__,
184 Foo.spam.__doc__,
196 FooSub.spam.__doc__,
212 self.assertEqual(Foo.spam.__doc__, "a new docstring")
[all …]
Dtest_module.py20 self.assertEqual(foo.__doc__, ModuleType.__doc__)
26 self.assertEqual(foo.__doc__, None)
33 self.assertEqual(foo.__doc__, "foodoc")
41 self.assertEqual(foo.__doc__, u"foodoc\u1234")
52 self.assertEqual(foo.__doc__, "foodoc")
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Functions/
DtFunction_listingFunctions.py94 log.D(self.test_01_dumpDomains_Case.__doc__)
123 log.D(self.test_03_help_Case.__doc__)
145 log.D(self.test_04_status_Case.__doc__)
167 log.D(self.test_05_listCriteria_Case.__doc__)
189 log.D(self.test_06_listDomains_Case.__doc__)
212 log.D(self.test_06_listDomainElements_Case.__doc__)
235 log.D(self.test_07_listConfigurations_Case.__doc__)
257 log.D(self.test_08_listElements_Case.__doc__)
281 log.D(self.test_09_listParameters_Case.__doc__)
309 log.D(self.test_10_getElementSize_Case.__doc__)
[all …]
/external/tensorflow/tensorflow/python/tpu/ops/
Dtpu_ops.py280 send_tpu_embedding_gradients.__doc__ = (
281 gen_tpu_ops.send_tpu_embedding_gradients.__doc__)
315 enqueue_tpu_embedding_integer_batch.__doc__ = (
316 gen_tpu_ops.enqueue_tpu_embedding_integer_batch.__doc__)
372 enqueue_tpu_embedding_sparse_batch.__doc__ = (
373 gen_tpu_ops.enqueue_tpu_embedding_sparse_batch.__doc__)
452 enqueue_tpu_embedding_sparse_tensor_batch.__doc__ = (
453 gen_tpu_ops.enqueue_tpu_embedding_sparse_tensor_batch.__doc__)
532 enqueue_tpu_embedding_ragged_tensor_batch.__doc__ = (
533 gen_tpu_ops.enqueue_tpu_embedding_ragged_tensor_batch.__doc__)
/external/python/cpython3/Lib/email/
D_policybase.py100 if cls.__doc__ and cls.__doc__.startswith('+'):
101 cls.__doc__ = _append_doc(cls.__bases__[0].__doc__, cls.__doc__)
103 if attr.__doc__ and attr.__doc__.startswith('+'):
107 attr.__doc__ = _append_doc(doc, attr.__doc__)
/external/libchrome/third_party/markupsafe/
D__init__.py109 join.__doc__ = text_type.join.__doc__
113 split.__doc__ = text_type.split.__doc__
117 rsplit.__doc__ = text_type.rsplit.__doc__
121 splitlines.__doc__ = text_type.splitlines.__doc__
174 func.__doc__ = orig.__doc__
/external/python/markupsafe/src/markupsafe/
D__init__.py88 join.__doc__ = str.join.__doc__
93 split.__doc__ = str.split.__doc__
98 rsplit.__doc__ = str.rsplit.__doc__
103 splitlines.__doc__ = str.splitlines.__doc__
145 func.__doc__ = orig.__doc__
/external/tensorflow/tensorflow/python/util/
Dtf_decorator.py103 decorator_func.__doc__ = decorator.__doc__
247 self.__doc__ = self._decorator_doc
248 elif hasattr(target, '__doc__') and target.__doc__:
249 self.__doc__ = target.__doc__
251 self.__doc__ = ''
Ddeprecation.py190 __doc__ = decorator_utils.add_notice_to_docstring( variable in deprecated_alias._NewClass
191 func_or_class.__doc__, 'Please use %s instead.' % name,
202 _NewClass.__init__.__func__.__doc__ = func_or_class.__init__.__doc__
205 _NewClass.__init__.__doc__ = func_or_class.__init__.__doc__
240 func_or_class.__doc__, None, 'Please use %s instead.' % name))
342 _add_deprecated_function_notice_to_docstring(func.__doc__, date,
352 cls.__doc__ = _add_deprecated_function_notice_to_docstring(
353 cls.__doc__, date, instructions)
538 func.__doc__, date, instructions, sorted(deprecated_arg_names.keys()))
605 func.__doc__, date, instructions, deprecated_kwargs)
/external/tensorflow/tensorflow/python/keras/layers/
Drnn_cell_wrapper_v2.py109 __init__.__doc__ = rnn_cell_wrapper_impl.DropoutWrapperBase.__init__.__doc__
120 __init__.__doc__ = rnn_cell_wrapper_impl.ResidualWrapperBase.__init__.__doc__
131 __init__.__doc__ = rnn_cell_wrapper_impl.DeviceWrapperBase.__init__.__doc__
/external/tensorflow/tensorflow/python/keras/applications/
Dresnet_v2.py135 preprocess_input.__doc__ = imagenet_utils.PREPROCESS_INPUT_DOC.format(
139 decode_predictions.__doc__ = imagenet_utils.decode_predictions.__doc__
192 setattr(ResNet50V2, '__doc__', ResNet50V2.__doc__ + DOC)
193 setattr(ResNet101V2, '__doc__', ResNet101V2.__doc__ + DOC)
194 setattr(ResNet152V2, '__doc__', ResNet152V2.__doc__ + DOC)
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_calltips.py58 if List.__doc__ is not None:
59 gtest(List, '()\n' + List.__doc__)
74 if textwrap.TextWrapper.__doc__ is not None:
82 f.__doc__ = 'a'*300
95 f.__doc__ = s + 300 * 'e' + 'f'
111 doc = '\ndoc' if t1.__doc__ is not None else ''
116 doc = '\ndoc' if TC.__doc__ is not None else ''
124 doc = '\ndoc' if TC.__doc__ is not None else ''
/external/python/cpython3/Tools/importbench/
Dimportbench.py93 benchmark_wo_bytecode.__doc__ = benchmark_wo_bytecode.__doc__.format(name)
127 writing_bytecode_benchmark.__doc__ = (
128 writing_bytecode_benchmark.__doc__.format(name))
157 using_bytecode_benchmark.__doc__ = (
158 using_bytecode_benchmark.__doc__.format(name))
182 if b.__doc__ == options.benchmark:
199 print(benchmark.__doc__, "[", end=' ')
208 new_results[benchmark.__doc__] = results
212 benchmark_name = benchmark.__doc__
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
D__init__.py29 if __doc__:
30 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/
D__init__.py29 if __doc__:
30 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
/external/python/cpython3/Lib/urllib/
Dparse.py251 _DefragResultBase.__doc__ = """
258 _DefragResultBase.url.__doc__ = """The URL with no fragment identifier."""
260 _DefragResultBase.fragment.__doc__ = """
266 _SplitResultBase.__doc__ = """
273 _SplitResultBase.scheme.__doc__ = """Specifies URL scheme for the request."""
275 _SplitResultBase.netloc.__doc__ = """
279 _SplitResultBase.path.__doc__ = """
283 _SplitResultBase.query.__doc__ = """
289 _SplitResultBase.fragment.__doc__ = """
294 _ParseResultBase.__doc__ = """
[all …]

12345678910>>...29