Commit 1aca953a authored by Georg Brandl's avatar Georg Brandl

Fix example ignoring ".svn" directories in compileall.

parent 1e1134a3
...@@ -162,7 +162,7 @@ subdirectory and all its subdirectories:: ...@@ -162,7 +162,7 @@ subdirectory and all its subdirectories::
# Perform same compilation, excluding files in .svn directories. # Perform same compilation, excluding files in .svn directories.
import re import re
compileall.compile_dir('Lib/', rx=re.compile('/[.]svn'), force=True) compileall.compile_dir('Lib/', rx=re.compile(r'[/\\][.]svn'), force=True)
.. seealso:: .. seealso::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment