Home
last modified time | relevance | path

Searched refs:annotation (Results 1 – 2 of 2) sorted by relevance

/petsc/src/binding/petsc4py/conf/
H A Dcyautodoc.py54 annotation = None
62 annotation = None
64 annotation = arg.type.declaration_code('', for_display=1)
66 annotation += ' | None'
67 if arg.annotation:
68 annotation = self._fmt_annotation(arg.annotation)
69 annotation = self._select_format(annotation, None)
70 if annotation:
71 doc = doc + (': %s' % annotation)
82 if arg.annotation:
[all …]
/petsc/src/binding/petsc4py/docs/source/
H A Dconf.py219 def stringify_annotation(annotation, *p, **kw): argument
220 qualname = getattr(annotation, '__qualname__', '')
221 module = getattr(annotation, '__module__', '')
222 args = getattr(annotation, '__args__', None)
226 return stringify_annotation_orig(annotation, *p, **kw)