Searched defs:__doc__ (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/
H A D__init__.py29 if __doc__:
30 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
H A Dwrite.py37 if __doc__:
38 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
H A Dmain.py37 if __doc__:
38 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
H A D__init__.py29 if __doc__:
30 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
H A Dwrite.py37 if __doc__:
38 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
H A Dmain.py37 if __doc__:
38 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
/external/python/cpython2/Lib/
H A Dstruct.py3 from _struct import __doc__ namespace
H A Dio.py71 __doc__ = _io._IOBase.__doc__ variable in class:IOBase
74 __doc__ = _io._RawIOBase.__doc__ variable in class:RawIOBase
77 __doc__ = _io._BufferedIOBase.__doc__ variable in class:BufferedIOBase
80 __doc__ = _io._TextIOBase.__doc__ variable in class:TextIOBase
H A Dcsv.py12 __doc__ namespace
21 "Error", "Dialect", "__doc__", "excel", "excel_tab",
H A Dsocket.py185 __doc__ = _realsocket.__doc__ variable in class:_socketobject
203 close.__doc__ = _realsocket.close.__doc__
208 accept.__doc__ = _realsocket.accept.__doc__
233 p.__doc__ = getattr(_realsocket,_m).__doc__
H A D_pyio.py238 """Helper for builtins.open.__doc__
244 open.__doc__)
254 __doc__ = DocDescriptor() variable in class:OpenWrapper
/external/python/cpython3/Lib/
H A Ddecimal.py4 from _decimal import __doc__ namespace
9 from _pydecimal import __doc__ namespace
H A Dstruct.py15 from _struct import __doc__ namespace
H A Dio.py73 __doc__ = _io._IOBase.__doc__ variable in class:IOBase
76 __doc__ = _io._RawIOBase.__doc__ variable in class:RawIOBase
79 __doc__ = _io._BufferedIOBase.__doc__ variable in class:BufferedIOBase
82 __doc__ = _io._TextIOBase.__doc__ variable in class:TextIOBase
H A Dcsv.py11 __doc__ namespace
18 "Error", "Dialect", "__doc__", "excel", "excel_tab",
H A Doperator.py416 from _operator import __doc__ namespace
H A D_pyio.py253 """Helper for builtins.open.__doc__
259 open.__doc__)
269 __doc__ = DocDescriptor() variable in class:OpenWrapper
H A Ddatetime.py2279 from _datetime import __doc__ namespace
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/
H A Drjsmin.py64 if __doc__:
66 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/
H A Drcssmin.py75 if __doc__:
77 __doc__ = __doc__.encode('ascii').decode('unicode_escape') variable
/external/tensorflow/tensorflow/python/util/
H A Ddeprecation.py148 __doc__ = decorator_utils.add_notice_to_docstring( variable in class:deprecated_alias.NewClass
149 func_or_class.__doc__, 'Please use %s instead.' % name,
159 NewClass.__init__.__func__.__doc__ = func_or_class.__init__.__doc__
162 NewClass.__init__.__doc__ = func_or_class.__init__.__doc__
197 func_or_class.__doc__, None, 'Please use %s instead.' % name))
253 _add_deprecated_function_notice_to_docstring(func.__doc__, date,
435 func.__doc__, date, instructions))
500 func.__doc__, dat
[all...]
/external/python/cpython2/Python/
H A Dcompile.c182 static PyObject *__doc__; variable
262 if (!__doc__) {
263 __doc__ = PyString_InternFromString("__doc__");
264 if (!__doc__)
1164 if (!compiler_nameop(c, __doc__, Store))
2355 /* XXX Leave assert here, but handle __doc__ and the like better */
/external/python/cpython2/Lib/test/
H A Dtest_descr.py2047 self.assertIn("__doc__", attrs)
2052 self.assertEqual(raw.__doc__, "I'm the x property.")
2057 for attr in "__doc__", "fget", "fset", "fdel":
2091 self.assertEqual(prop.__doc__, "getter method")
2093 self.assertEqual(prop2.__doc__, None)
2119 self.assertEqual(C.foo.__doc__, "hello")
2271 cstuff = ['Cdata', 'Cmethod', '__doc__', '__module__']
2275 c = C() # c.__doc__ is an odd thing to see here; ditto c.__module__.
2338 names = [x for x in dir(minstance) if x not in ["__name__", "__doc__"]]
3036 self.assertEqual(descr.__doc__, wha
3051 __doc__ = DocDescr() variable in class:.test_doc_descriptor.OldClass
3053 __doc__ = DocDescr() variable in class:.test_doc_descriptor.NewClass
[all...]
/external/python/cpython3/Python/
H A Dcompile.c216 static PyObject *__doc__; variable
309 if (!__doc__) {
310 __doc__ = PyUnicode_InternFromString("__doc__");
311 if (!__doc__)
1459 if (!compiler_nameop(c, __doc__, Store))
3066 /* XXX Leave assert here, but handle __doc__ and the like better */
/external/python/cpython3/Lib/test/
H A Dtest_descr.py2132 self.assertIn("__doc__", attrs)
2137 self.assertEqual(raw.__doc__, "I'm the x property.")
2153 raw.__doc__ = 42
2154 self.assertEqual(raw.__doc__, 42)
2179 self.assertEqual(prop.__doc__, "getter method")
2181 self.assertEqual(prop2.__doc__, None)
2207 self.assertEqual(C.foo.__doc__, "hello")
2395 default_attributes = ['__name__', '__doc__', '__package__',
3087 self.assertEqual(descr.__doc__, what)
3092 # Testing __doc__ descripto
3102 __doc__ = DocDescr() variable in class:.test_doc_descriptor.OldClass
3104 __doc__ = DocDescr() variable in class:.test_doc_descriptor.NewClass
[all...]

Completed in 2186 milliseconds

12