Home
last modified time | relevance | path

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

1234

/third_party/boost/libs/python/doc/reference/
Doverloads.qbk7 [[docstring][An [link ntbs] whose value will bound to the methods' `__doc__` attribute]]
19 X(docstring)
20 X(docstring, keywords)
21 X(keywords, docstring)
23 X(docstring)[policies]
24 X(docstring, keywords)[policies]
25 X(keywords, docstring)[policies]
28 * If docstring is supplied it must be an [link ntbs], and will be used as the result's docstring. O…
80 args("x", "y", "z"), "This is f's docstring"
87 class_<X>("X", "This is X's docstring")
[all …]
Dfunction_doc_signature.qbk57 , "This is f's docstring"
62 def("f1", f, f_overloads("f1's docstring", args("x", "y", "z")));
65 class_<X>("X", "This is X's docstring", init<>(args("self")))
67 , "This is X.f's docstring"
91 | This is X's docstring
106 | f( (X)self, (int)x, (float)y, (str)z) -> tuple : This is X.f's docstring
114 f([ (int)x=1 [, (float)y=4.25 [, (str)z='wow']]]) -> tuple : This is f's docstring
119 f1([ (int)x [, (float)y [, (str)z]]]) -> tuple : f1's docstring
Dinit.qbk7 [[docstring][An [link ntbs] whose value will bound to the method's `__doc__` attribute]]
40 [[Effects][The result is an init-expression whose docstring is doc and whose keywords are a referen…
82 class_<X>("X", "This is X's docstring.",
83 init<int,char const*>(args("x","y"), "X.__init__'s docstring")[
Dclass.qbk39 class_(char const* name, char const* docstring);
45 class_(char const* name, char const* docstring, Init);
108 class_(char const* name, char const* docstring);
112 class_(char const* name, char const* docstring, Init init_spec);
116 …ython.org/doc/current/ref/identifiers.html identifier naming rules]. If docstring is supplied, it …
119 * If supplied, the value of docstring is bound to the `__doc__` attribute of the extension class.
160docstring][Any [link ntbs]][Value will be bound to the __doc__ attribute of the resulting method o…
205 …bject(fget)` (and `object(fset)` in the second form) with an (optional) docstring `doc` to its con…
297 "This is Foo's docstring."
300 init<int,char const*>(args("x","y"), "__init__ docstring")
Ddef.qbk31 …[[docstring][Any [link ntbs]][Value will be bound to the `__doc__` attribute of the resulting meth…
50 def("foo", foo, args("x", "y"), "foo's docstring");
/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/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/boost/libs/parameter/test/literate/
Ddeduced-parameters0.cpp6 BOOST_PARAMETER_NAME(docstring)
58 (docstring, (char const*), blank_char_ptr())
/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/python/Lib/test/crashers/
DREADME10 Put as much info into a docstring or comments to help determine the cause of the
/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,
/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)

1234