Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/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"
/third_party/skia/third_party/externals/abseil-cpp/absl/copts/
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/test/
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)
751 """.strip(), function.docstring)
Dtest_compileall.py963 def create_code(self, docstring=False, assertion=False): argument
965 if docstring:
973 for docstring in (False, True):
975 code = self.create_code(docstring=docstring, assertion=assertion)
976 yield (code, docstring, assertion)
980 for code, docstring, assertion in self.iter_codes():
981 with self.subTest(docstring=docstring, assertion=assertion):
990 def check_hardlinks(self, script, docstring=False, assertion=False): argument
995 not assertion and not docstring)
997 not docstring)
[all …]
Dtest_docxmlrpc.py187 docstring = (b'' if sys.flags.optimize >= 2 else
191 b'(x: int)</dt>' + docstring + b'</dl>\n'
Dtest_unparse.py360 for docstring in docstrings:
483 for docstring in docstrings:
/third_party/mbedtls/
D.pylintrc15 # [missing-docstring]
16 docstring-min-length=10
28 # [missing-docstring]
29 no-docstring-rgx=(run_)?main$
/third_party/python/Lib/
Ddoctest.py529 def __init__(self, examples, globs, name, filename, lineno, docstring): argument
537 self.docstring = docstring
559 self.docstring == other.docstring and \
566 return hash((self.docstring, self.name, self.filename, self.lineno))
1056 docstring = obj
1060 docstring = ''
1062 docstring = obj.__doc__
1063 if not isinstance(docstring, str):
1064 docstring = str(docstring)
1066 docstring = ''
[all …]
/third_party/python/Tools/clinic/
Dclinic.py615 if re.search(r'[^\x00-\x7F]', f.docstring):
620 for line in f.docstring.split('\n'):
689 if new_or_init and not f.docstring:
2212 docstring=None, kind=CALLABLE, coexist=False, argument
2223 self.docstring = docstring or ''
2270 'docstring': self.docstring, 'kind': self.kind, 'coexist': self.coexist,
2291 docstring=None, group=0): argument
2298 self.docstring = docstring or ''
2317 'docstring': self.docstring, 'group': self.group,
4185 …me=function_name, full_name=full_name, module=module, cls=cls, c_basename=c_basename, docstring='')
[all …]
/third_party/python/Tools/pynche/
DMain.py83 def docstring(): function
88 print(docstring())
DPyncheWidget.py200 from Main import docstring
227 contents = docstring()
/third_party/python/Misc/NEWS.d/
D3.7.0.rst7 Fix :func:`ast.get_docstring` for a node that lacks a docstring.
/third_party/cef/tools/yapf/yapf/
D__init__.py133 for option, docstring in sorted(style.Help().items()):
134 for line in docstring.splitlines():
/third_party/rust/crates/cxx/tools/bazel/
Drust_cxx_bridge.bzl1 # buildifier: disable=module-docstring
/third_party/python/Doc/library/
Ddoctest.rst202 were a single giant docstring; the file doesn't need to contain a Python
277 The module docstring, and all function, class and method docstrings are
353 other reason use a backslash, you should use a raw docstring, which will
357 ... r'''Backslashes in a raw docstring: m\n'''
359 Backslashes in a raw docstring: m\n
366 ... '''Backslashes in a raw docstring: m\\n'''
368 Backslashes in a raw docstring: m\n
386 By default, each time :mod:`doctest` finds a docstring to test, it uses a
391 in the docstring being run. Examples cannot see names defined in other
1151 from a single docstring or text file.
[all …]
Dpydoc.rst24 derived from the docstring (i.e. the :attr:`__doc__` attribute) of the object,
25 and recursively of its documentable members. If there is no docstring,
Dtokenize.rst130 Raised when either a docstring or expression that may be split over several
134 docstring
/third_party/python/Lib/test/crashers/
DREADME10 Put as much info into a docstring or comments to help determine the cause of the
/third_party/glslang/
DChooseMSVCCRT.cmake80 # CMake requires the docstring parameter whenever set() touches the cache,
81 # so get the existing docstring and re-use that.
/third_party/python/Lib/xmlrpc/
Dserver.py782 docstring = object[1] or ""
784 docstring = pydoc.getdoc(object)
790 docstring, self.preformat, funcs, classes, methods)
/third_party/jerryscript/tools/pylint/
Dpylintrc62 …ound-builtin,hex-method,nonzero-method,map-builtin-not-iterating,missing-docstring,locally-disabled
267 # not require a docstring.
268 no-docstring-rgx=^_
272 docstring-min-length=-1
/third_party/python/Doc/howto/
Dclinic.rst193 4. Cut the docstring and paste it in between the ``[clinic]`` lines,
197 (Argument Clinic will preserve indents inside the docstring.)
199 If the old docstring had a first line that looked like a function
200 signature, throw that line away. (The docstring doesn't need it
211 5. If your docstring doesn't have a "summary" line, Argument Clinic will
214 at the beginning of the docstring.
216 (Our example docstring consists solely of a summary line, so the sample
219 6. Above the docstring, enter the name of the function, followed
268 indented from the function name and the docstring.
364 11. It's helpful to write a per-parameter docstring for each parameter.
[all …]
/third_party/python/Modules/
Dmathmodule.c1146 #define FUNC1(funcname, func, can_overflow, docstring) \ argument
1150 PyDoc_STRVAR(math_##funcname##_doc, docstring);
1152 #define FUNC1A(funcname, func, docstring) \ argument
1156 PyDoc_STRVAR(math_##funcname##_doc, docstring);
1158 #define FUNC2(funcname, func, docstring) \ argument
1162 PyDoc_STRVAR(math_##funcname##_doc, docstring);
/third_party/python/Doc/c-api/
Dtuple.rst150 | ``doc`` | ``const char *`` | pointer to docstring for the type |
176 | ``doc`` | ``const char *`` | field docstring or ``NULL`` to omit |
Dfunction.rst37 The function's docstring and name are retrieved from the code object. *__module__*

1234