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.py1192 def formatannotation(annotation, base_module=None): function
1204 return formatannotation(annotation, module)
1214 formatannotation=formatannotation): argument
1237 result += ': ' + formatannotation(annotations[arg])
1262 result += formatreturns(formatannotation(annotations['return']))
2558 formatannotation(self._annotation))
3075 anno = formatannotation(self.return_annotation)