joblib/pyreport — pull request #4 by stenri (2012-11-06 19:57:37+00:00)
Title: Allow spaces before literary comment directives.

BUG: When there are some spaces before the rst / latext literary comment line, literary comment doesn't work. This makes impossible to use literary comments inside if () and other conditional statements, subroutines e.t.c.

For example, this statement doesn't work as desired:

if (opts.statistics):
#! Statistics
#!-------------------
...

This patch fixes that and allows spaces before literary comment directives.