Commits

Georg Brandl committed eff3aee

Fix doc build with underscores in filename patterns.

Comments (0)

Files changed (1)

             classname,
             cls.__doc__,
             ', '.join(data[2]) or 'None',
-            ', '.join(data[3]).replace('*', '\\*') or 'None',
+            ', '.join(data[3]).replace('*', '\\*').replace('_', '\\') or 'None',
             ', '.join(data[4]) or 'None'))
         if module not in moduledocstrings:
             moduledocstrings[module] = mod.__doc__