Implementation of reStructuredText in python