HomeSort by relevance Sort by last modified time
    Searched refs:docstring (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/
template.py 40 %(Docstring)s},"""
58 docstring = """\
60 %(Docstring)s);
  /external/python/cpython2/Tools/framer/framer/
template.py 40 %(Docstring)s},"""
58 docstring = """\
60 %(Docstring)s);
  /external/tensorflow/tensorflow/python/util/
decorator_utils.py 35 def _normalize_docstring(docstring):
36 """Normalizes the docstring.
42 https://www.python.org/dev/peps/pep-0257/#handling-docstring-indentation
45 docstring: the docstring to normalize
48 The normalized docstring
50 if not docstring:
54 lines = docstring.expandtabs().splitlines()
78 """Adds a deprecation notice to a docstring."""
deprecation.py 41 """Adds a deprecation notice to a docstring for deprecated functions."""
53 """Adds a deprecation notice to a docstring for deprecated arguments."""
116 notice to the class' docstring.
120 docstring. This is more or less equivalent (the deprecation warning has
142 use and has a modified docstring.
147 class NewClass(func_or_class): # pylint: disable=missing-docstring
182 def new_func(*args, **kwargs): # pylint: disable=missing-docstring
213 It also edits the docstring of the function: ' (deprecated)' is appended
214 to the first line of the docstring and a deprecation notice is prepended
215 to the rest of the docstring
    [all...]
  /external/tensorflow/tensorflow/python/platform/
flags_test.py 30 flag_name='old_string', default_value='default', docstring='docstring')
32 name='new_string', default='default', help='docstring')
34 flag_name='old_integer', default_value=1, docstring='docstring')
36 name='new_integer', default=1, help='docstring')
38 flag_name='old_float', default_value=1.5, docstring='docstring')
40 name='new_float', default=1.5, help='docstring')
42 flag_name='old_bool', default_value=True, docstring='docstring'
    [all...]
  /external/python/cpython2/Mac/Modules/ctl/
ctledit.py 34 f.docstring = lambda : "() -> None"
  /external/python/cpython2/Mac/Modules/evt/
evtsupport.py 86 f.docstring = lambda: "(EventMask eventMask, UInt32 sleep [,RegionHandle]) -> (Boolean _rv, EventRecord theEvent)"
  /external/brotli/
configure-cmake 136 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"
  /external/python/cpython2/Mac/Modules/carbonevt/
CarbonEvtsupport.py 247 f.docstring = lambda: "() -> None"
271 f.docstring = lambda: "(EventTypeSpec inSpec, Method callback) -> (EventHandlerRef outRef)"
307 f.docstring = lambda: "(EventParamName eventName, EventParamType eventType) -> (String eventParamData)"
  /external/python/cpython2/Mac/Modules/list/
listsupport.py 187 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 theWindow, Boolean drawIt, Boolean hasGrow, Boolean scrollHoriz, Boolean scrollVert) -> (ListHandle outList)"
  /external/python/cpython2/Mac/Modules/cg/
cgsupport.py 182 f.docstring = lambda: "(CGrafPtr) -> CGContextRef"
  /external/python/cpython2/Mac/Modules/win/
winedit.py 68 f.docstring = lambda: "(int)->int. Automatically DisposeHandle the object on Python object cleanup"
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/
bgenGenerator.py 67 docstring = self.docstring()
72 Output(" PyDoc_STR(%s)},", stringify(docstring))
76 def docstring(self): member in class:BaseFunctionGenerator
145 def docstring(self): member in class:FunctionGenerator
  /external/python/cpython2/Tools/bgen/bgen/
bgenGenerator.py 67 docstring = self.docstring()
72 Output(" PyDoc_STR(%s)},", stringify(docstring))
76 def docstring(self): member in class:BaseFunctionGenerator
145 def docstring(self): member in class:FunctionGenerator
  /external/tensorflow/tensorflow/tools/docs/
pretty_docs.py 77 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)
parser.py 97 The docstring, or the empty string if no docstring was found.
99 # For object instances, tf_inspect.getdoc does give us the docstring of their
100 # type, which is not what we want. Only return the docstring if it is useful.
433 """Parse and remove compatibility blocks from the main docstring.
436 doc: The docstring that contains compatibility notes"
487 def _parse_function_details(docstring):
488 r"""Given a docstring, split off the header and parse the function details.
490 For example the docstring of tf.nn.relu:
522 docstring: The docstring to pars
    [all...]
  /external/python/cpython2/Mac/Modules/cf/
cfsupport.py 568 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/Lib/test/
test_docxmlrpc.py 187 docstring = (b'' if sys.flags.optimize >= 2 else
191 b'(x: int)</dt>' + docstring + b'</dl>\n'
  /external/python/cpython3/Tools/clinic/
clinic_test.py 368 """.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(), """
628 Docstring
631 self.assertEqual("bar($module, /)\n--\n\nDocstring", function.docstring)
640 Docstring
644 self.assertEqual("Bar()\n--\n\nDocstring", function.docstring)
682 Docstring here
    [all...]
  /external/gflags/cmake/
utils.cmake 61 macro (gflags_define type varname docstring default)
79 set (${varname} "${GFLAGS_${varname}}" CACHE ${type} "${docstring}")
  /external/python/cpython2/Mac/Modules/mlte/
mltesupport.py 197 f.docstring = lambda: "(TXNInitOptions) -> None"
  /external/python/cpython2/Mac/Modules/qdoffs/
qdoffssupport.py 109 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/tensorflow/tensorflow/contrib/distributions/python/ops/
vector_student_t.py 120 `tf.contrib.distributions.bijectors.Affine` docstring.
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DocXMLRPCServer.py 97 docstring = object[1] or ""
99 docstring = pydoc.getdoc(object)
105 docstring, self.preformat, funcs, classes, methods)
  /external/python/cpython2/Lib/
DocXMLRPCServer.py 97 docstring = object[1] or ""
99 docstring = pydoc.getdoc(object)
105 docstring, self.preformat, funcs, classes, methods)

Completed in 758 milliseconds

1 2 3 4