Searched refs:cleandoc (Results 1 – 14 of 14) sorted by relevance
41 inspect.cleandoc('''
199 return inspect.cleandoc(node.body[0].value.s)
366 return cleandoc(doc)368 def cleandoc(doc): function
491 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`.
269 self.assertEqual(inspect.cleandoc('An\n indented\n docstring.'),
624 return cleandoc(doc)626 def cleandoc(doc): function
292 text = inspect.cleandoc(text)
183 return inspect.cleandoc(doc)
385 inspect.cleandoc() to ease standalone use.
474 Get the documentation string for an object, cleaned up with :func:`cleandoc`.537 .. function:: cleandoc(doc)
1603 :func:`inspect.cleandoc`.
464 self.assertEqual(inspect.cleandoc('An\n indented\n docstring.'),