Searched refs:cleandoc (Results 1 – 12 of 12) sorted by relevance
199 return inspect.cleandoc(node.body[0].value.s)
366 return cleandoc(doc)368 def cleandoc(doc): function
220 text = inspect.cleandoc(text)
611 return cleandoc(doc)613 def cleandoc(doc): function
482 self.assertEqual(serialized_fp.getvalue(), inspect.cleandoc(expected))
399 Get the documentation string for an object, cleaned up with :func:`cleandoc`.446 .. function:: cleandoc(doc)
151 indentation with :func:`inspect.cleandoc`.
152 :func:`inspect.cleandoc`.
452 Get the documentation string for an object, cleaned up with :func:`cleandoc`.515 .. function:: cleandoc(doc)
269 self.assertEqual(inspect.cleandoc('An\n indented\n docstring.'),
385 inspect.cleandoc() to ease standalone use.
430 self.assertEqual(inspect.cleandoc('An\n indented\n docstring.'),