diff options
-rw-r--r-- | Doc/library/compileall.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/compileall.rst b/Doc/library/compileall.rst index cb7a09c..b12c217 100644 --- a/Doc/library/compileall.rst +++ b/Doc/library/compileall.rst @@ -162,7 +162,7 @@ subdirectory and all its subdirectories:: # Perform same compilation, excluding files in .svn directories. import re - compileall.compile_dir('Lib/', rx=re.compile('/[.]svn'), force=True) + compileall.compile_dir('Lib/', rx=re.compile(r'[/\\][.]svn'), force=True) .. seealso:: |