Home
last modified time | relevance | path

Searched refs:formatannotation (Results 1 – 3 of 3) sorted by relevance

/external/python/funcsigs/tests/
Dtest_formatannotation.py13 self.assertEqual(funcsigs.formatannotation("annotation"),
17 self.assertEqual(funcsigs.formatannotation(int),
22 self.assertEqual(funcsigs.formatannotation(dummy),
/external/python/funcsigs/funcsigs/
D__init__.py31 def formatannotation(annotation, base_module=None): function
316 formatannotation(self._annotation))
815 anno = formatannotation(self.return_annotation)
/external/python/cpython3/Lib/
Dinspect.py1233 def formatannotation(annotation, base_module=None): function
1245 return formatannotation(annotation, module)
1255 formatannotation=formatannotation): argument
1278 result += ': ' + formatannotation(annotations[arg])
1303 result += formatreturns(formatannotation(annotations['return']))
2606 formatannotation(self._annotation))
3122 anno = formatannotation(self.return_annotation)