Monthly Archives: April 2013

Dedenting

The Python standard library has two very useful functions to support removing indentation, but they’re not in obvious places! inspect.cleandoc(doc): Clean up indentation from docstrings that are indented to line up with blocks of code. Any whitespace that can be … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment