From 8cd55a40d46cbbf636eb426af8db5fe9b7aaf324 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 10 Mar 2012 22:10:37 +0100 Subject: Fix doc build with underscores in filename patterns. --- docs/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 docs/generate.py (limited to 'docs/generate.py') diff --git a/docs/generate.py b/docs/generate.py old mode 100644 new mode 100755 index 4842dc6e..0ceeb58d --- a/docs/generate.py +++ b/docs/generate.py @@ -56,7 +56,7 @@ def generate_lexer_docs(): 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__ -- cgit v1.2.1