Home
last modified time | relevance | path

Searched refs:docstring (Results 1 - 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/brotli/
H A Dconfigure-cmake136 eval "docstring=\$$var_doc_name"
137 if [ "x${docstring}" = "x" ]; then
140 printf " --enable-%-14s %s\n" "${VAR_NAME}" "$docstring"
152 eval "docstring=\$$var_doc_name"
153 if [ "x${docstring}" = "x" ]; then
156 printf " --disable-%-13s %s\n" "${VAR_NAME}" "$docstring"
168 eval "docstring=\$$var_doc_name"
170 if [ "x${docstring}" = "x" ]; then
173 printf " --with-%-16s %s\n" "$paraminfo" "$docstring"
/third_party/skia/third_party/externals/abseil-cpp/absl/copts/
H A Dgenerate_copts.py45 def docstring(self): member in CMakeStyle
64 def docstring(self): member in StarlarkStyle
93 f.write(style.docstring())
/third_party/python/Lib/
H A Ddoctest.py111 # - Example: a <source, want> pair, plus an intra-docstring line number.
112 # - DocTest: a collection of examples, parsed from a docstring, plus
113 # info about where the docstring came from (name, filename, lineno).
114 # - DocTestFinder: extracts DocTests from a given object's docstring and
434 ## a string (such as an object's docstring). The DocTest class also
516 the object whose docstring this DocTest was extracted from).
526 - docstring: The string that the examples were extracted from,
529 def __init__(self, examples, globs, name, filename, lineno, docstring):
537 self.docstring = docstring
[all...]
H A Dast.py283 Return the docstring for the given node or None if no docstring can
784 """If a docstring node is found in the body of the *node* parameter,
785 return that docstring node, None otherwise.
822 if (docstring := self.get_raw_docstring(node)):
823 self._write_docstring(docstring)
/third_party/python/Lib/test/
H A Dtest_compileall.py984 def create_code(self, docstring=False, assertion=False):
986 if docstring:
987 lines.append("'module docstring'")
994 for docstring in (False, True):
996 code = self.create_code(docstring=docstring, assertion=assertion)
997 yield (code, docstring, assertion)
1001 for code, docstring, assertion in self.iter_codes():
1002 with self.subTest(docstring=docstring, assertio
[all...]
H A Dtest_clinic.py372 """.strip(), function.docstring)
396 """.strip(), function.docstring)
405 self.assertEqual("stat($module, /, path)\n--\n\nThis/used to break Clinic!", function.docstring)
452 self.assertEqual(function.docstring.strip(), """
513 self.assertEqual(function.docstring.strip(), """
635 self.assertEqual("bar($module, /)\n--\n\nDocstring", function.docstring)
648 self.assertEqual("Bar()\n--\n\nDocstring", function.docstring)
747 Nested docstring here, goeth.
759 Nested docstring here, goeth.
760 """.strip(), function.docstring)
[all...]
H A Dtest_docxmlrpc.py200 docstring = (b'' if sys.flags.optimize >= 2 else
204 b'(x: int)</dt>' + docstring + b'</dl>\n'
H A Dtest_unparse.py447 for docstring in docstrings:
449 self.check_ast_roundtrip(f"'''{docstring}'''")
570 for docstring in docstrings:
571 self.check_src_roundtrip(f"{prefix}{docstring}")
586 # rather then triple quoted docstring
/third_party/python/Tools/clinic/
H A Dclinic.py624 if re.search(r'[^\x00-\x7F]', f.docstring):
625 warn("Non-ascii character appear in docstring.")
628 # turn docstring into a properly quoted C string
629 for line in f.docstring.split('\n'):
705 if new_or_init and not f.docstring:
713 {docstring});
1398 template_dict['docstring'] = self.docstring_for_c_string(f)
2299 docstring - a str containing
2304 (not docstring) or ((not docstring[
[all...]
/third_party/python/Lib/xmlrpc/
H A Dserver.py766 docstring = object[1] or ""
768 docstring = pydoc.getdoc(object)
774 docstring, self.preformat, funcs, classes, methods)
/third_party/python/Modules/
H A Dmathmodule.c1156 #define FUNC1(funcname, func, can_overflow, docstring) \
1160 PyDoc_STRVAR(math_##funcname##_doc, docstring);
1162 #define FUNC1A(funcname, func, docstring) \
1166 PyDoc_STRVAR(math_##funcname##_doc, docstring);
1168 #define FUNC2(funcname, func, docstring) \
1172 PyDoc_STRVAR(math_##funcname##_doc, docstring);
/third_party/python/Python/
H A Dast_opt.c662 int docstring = _PyAST_GetDocString(stmts) != NULL; in astfold_body() local
664 if (!docstring && _PyAST_GetDocString(stmts) != NULL) { in astfold_body()
H A Dcompile.c2138 /* Compile a sequence of statements, checking for a docstring
2146 PyObject *docstring; in compiler_body() local
2162 /* if not -OO mode, set docstring */ in compiler_body()
2164 docstring = _PyAST_GetDocString(stmts); in compiler_body()
2165 if (docstring) { in compiler_body()
2592 PyObject *qualname, *docstring = NULL; in compiler_function() local
2653 /* if not -OO mode, add docstring */ in compiler_function()
2655 docstring = _PyAST_GetDocString(body); in compiler_function()
2657 if (compiler_add_const(c, docstring ? docstring in compiler_function()
[all...]

Completed in 26 milliseconds