There was an error while loading. Please reload this page.
1 parent 1e1134a commit 1aca953Copy full SHA for 1aca953
1 file changed
Doc/library/compileall.rst
@@ -162,7 +162,7 @@ subdirectory and all its subdirectories::
162
163
# Perform same compilation, excluding files in .svn directories.
164
import re
165
- compileall.compile_dir('Lib/', rx=re.compile('/[.]svn'), force=True)
+ compileall.compile_dir('Lib/', rx=re.compile(r'[/\\][.]svn'), force=True)
166
167
168
.. seealso::
0 commit comments