Home
last modified time | relevance | path

Searched refs:docstring (Results 1 – 25 of 144) sorted by relevance

123456

/external/python/cpython2/Mac/Modules/res/
Dresedit.py52 f.docstring = lambda: """Convert a string to a Handle object.
70 docstring = "Return this resource/handle as a %s"%longname
71 f.docstring = lambda docstring=docstring: docstring
101 f.docstring = lambda: "(int)->int. Automatically DisposeHandle the object on Python object cleanup"
/external/python/cpython2/Mac/Modules/ctl/
Dctlsupport.py545 f.docstring = lambda: "(Point startPoint [,trackercallback]) -> (ControlPartCode _rv)"
581 f.docstring = lambda: "(Point startPoint, Integer modifiers, [,trackercallback]) -> (ControlPartCod…
611 f.docstring = lambda: "(stuff) -> None"
656 f.docstring = lambda: "(part, type) -> String"
685 f.docstring = lambda: "(ResObj) -> None"
728 f.docstring = lambda: "(part, type) -> ResObj"
760 f.docstring = lambda: "(callbackfunc) -> None"
821 f.docstring = lambda: "(WindowPtr window, Rect boundsRect, UInt16 size, UInt16 direction, ControlTa…
/external/brotli/
Dconfigure-cmake137 if [ "x${docstring}" = "x" ]; then
140 printf " --enable-%-14s %s\n" "${VAR_NAME}" "$docstring"
153 if [ "x${docstring}" = "x" ]; then
156 printf " --disable-%-13s %s\n" "${VAR_NAME}" "$docstring"
170 if [ "x${docstring}" = "x" ]; then
173 printf " --with-%-16s %s\n" "$paraminfo" "$docstring"
/external/tensorflow/tensorflow/python/platform/
Dflags_test.py30 flag_name='old_string', default_value='default', docstring='docstring')
34 flag_name='old_integer', default_value=1, docstring='docstring')
38 flag_name='old_float', default_value=1.5, docstring='docstring')
42 flag_name='old_bool', default_value=True, docstring='docstring')
46 flag_name='old_boolean', default_value=False, docstring='docstring')
/external/python/cpython2/Mac/Modules/qd/
Dqdsupport.py293 f.docstring = lambda: """(int start, int size) -> string. Return bytes from the bitmap"""
310 f.docstring = lambda: """(int start, string data). Store bytes into the bitmap"""
343 f.docstring = lambda: """Take (string, int, Rect) argument and create BitMap"""
371 f.docstring = lambda: """Take string BitMap and turn into BitMap object"""
/external/tensorflow/tensorflow/python/util/
Ddecorator_utils.py35 def _normalize_docstring(docstring): argument
50 if not docstring:
54 lines = docstring.expandtabs().splitlines()
/external/python/cpython2/Mac/Modules/cf/
Dcfsupport.py568 f.docstring = lambda: "() -> (string _rv)"
586 f.docstring = lambda: "() -> (unicode _rv)"
599 f.docstring = lambda: "() -> (string _rv)"
625 f.docstring = lambda: "(CFOptionFlags mutabilityOption) -> (CFTypeRefObj)"
635 f.docstring = lambda: "() -> (python_object)"
659 f.docstring = lambda: "(python_object) -> (CF_object)"
/external/python/cpython3/Tools/clinic/
Dclinic_test.py368 """.strip(), function.docstring)
392 """.strip(), function.docstring)
401 … self.assertEqual("stat($module, /, path)\n--\n\nThis/used to break Clinic!", function.docstring)
448 self.assertEqual(function.docstring.strip(), """
509 self.assertEqual(function.docstring.strip(), """
631 self.assertEqual("bar($module, /)\n--\n\nDocstring", function.docstring)
644 self.assertEqual("Bar()\n--\n\nDocstring", function.docstring)
747 """.strip(), function.docstring)
Dclinic.py622 for line in f.docstring.split('\n'):
687 if new_or_init and not f.docstring:
2048 docstring=None, kind=CALLABLE, coexist=False, argument
2059 self.docstring = docstring or ''
2106 'docstring': self.docstring, 'kind': self.kind, 'coexist': self.coexist,
2127 docstring=None, group=0): argument
2134 self.docstring = docstring or ''
2150 'docstring': self.docstring, 'group': self.group,
3461 …me=function_name, full_name=full_name, module=module, cls=cls, c_basename=c_basename, docstring='')
3952 new_docstring = last_parameter.docstring
[all …]
/external/python/cpython2/Mac/Modules/carbonevt/
DCarbonEvtsupport.py247 f.docstring = lambda: "() -> None"
271 f.docstring = lambda: "(EventTypeSpec inSpec, Method callback) -> (EventHandlerRef outRef)"
307 f.docstring = lambda: "(EventParamName eventName, EventParamType eventType) -> (String eventParamDa…
/external/python/cpython2/Tools/bgen/bgen/
DbgenGenerator.py67 docstring = self.docstring()
72 Output(" PyDoc_STR(%s)},", stringify(docstring))
76 def docstring(self): member in BaseFunctionGenerator
145 def docstring(self): member in FunctionGenerator
/external/tensorflow/tensorflow/tools/docs/
Dpretty_docs.py77 parts.append(page_info.doc.docstring)
118 parts.append(page_info.doc.docstring)
141 parts.append(prop_info.doc.docstring)
167 parts.append(method_info.doc.docstring)
210 parts.append(page_info.doc.docstring)
Dparser_test.py355 self.assertNotIn('@', doc_info.docstring)
356 self.assertNotIn('compatibility', doc_info.docstring)
357 self.assertNotIn('Raises:', doc_info.docstring)
501 docstring, function_details = parser._parse_function_details(RELU_DOC)
516 self.assertEqual(docstring, relu_doc_lines[0] + '\n\n')
521 docstring + ''.join(str(detail) for detail in function_details))
Dparser.py487 def _parse_function_details(docstring): argument
533 parts = tag_re.split(docstring)
536 docstring = parts[0]
551 return docstring, function_details
594 docstring, compatibility = _handle_compatibility(raw_docstring)
595 docstring, function_details = _parse_function_details(docstring)
598 docstring.split('\n')[0], docstring, function_details, compatibility)
/external/python/cpython2/Mac/Modules/file/
Dfilesupport.py849 f.docstring = lambda: "() -> string"
859 f.docstring = lambda: "() -> string"
877 f.docstring = lambda: "() -> string"
888 f.docstring = lambda: "() -> (vRefNum, dirID, name)"
906 f.docstring = lambda: "(str|unicode|FSSpec|FSref) -> pathname"
/external/python/cpython3/Lib/
Ddoctest.py522 def __init__(self, examples, globs, name, filename, lineno, docstring): argument
530 self.docstring = docstring
552 self.docstring == other.docstring and \
559 return hash((self.docstring, self.name, self.filename, self.lineno))
1040 docstring = obj
1044 docstring = ''
1046 docstring = obj.__doc__
1047 if not isinstance(docstring, str):
1048 docstring = str(docstring)
1050 docstring = ''
[all …]
/external/python/cpython2/Mac/Modules/qdoffs/
Dqdoffssupport.py109 f.docstring = lambda: """(pixmap, int start, int size) -> string. Return bytes from the pixmap"""
127 f.docstring = lambda: """(pixmap, int start, string data). Store bytes into the pixmap"""
/external/python/cpython2/Demo/parser/
DREADME13 docstring.py -- sample source file containing only a module docstring.
/external/python/cpython2/Lib/
Ddoctest.py523 def __init__(self, examples, globs, name, filename, lineno, docstring): argument
531 self.docstring = docstring
552 self.docstring == other.docstring and \
562 return hash((self.docstring, self.name, self.filename, self.lineno))
1025 docstring = obj
1029 docstring = ''
1031 docstring = obj.__doc__
1032 if not isinstance(docstring, basestring):
1033 docstring = str(docstring)
1035 docstring = ''
[all …]
DDocXMLRPCServer.py97 docstring = object[1] or ""
99 docstring = pydoc.getdoc(object)
105 docstring, self.preformat, funcs, classes, methods)
/external/python/cpython2/Mac/Modules/list/
Dlistsupport.py187 f.docstring = lambda: "(Resource)->List.\nReturns List object (which is not auto-freed!)"
244 f.docstring = lambda: "(Rect rView, Rect dataBounds, Point cellSize, ListDefSpec theSpec, WindowPtr…
/external/python/cpython2/Tools/pynche/
DMain.py83 def docstring(): function
88 print docstring()
/external/python/cpython3/Tools/pynche/
DMain.py83 def docstring(): function
88 print(docstring())
/external/python/cpython3/Lib/test/
Dtest_docxmlrpc.py187 docstring = (b'' if sys.flags.optimize >= 2 else
191 b'(x: int)</dt>' + docstring + b'</dl>\n'
/external/python/cpython2/Tools/framer/framer/
Dtemplate.py58 docstring = """\ variable

123456