diff options
author | Georg Brandl <georg@python.org> | 2013-04-14 10:02:43 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-04-14 10:02:43 (GMT) |
commit | 1aca953a40425833f60e76bfa23df1ca89ae574e (patch) | |
tree | 8992dce054d3c3334918727606bda29a3a764d84 /Doc/library | |
parent | 1e1134a314cdf2fa3bf154d638bf2506182ca31b (diff) | |
download | cpython-1aca953a40425833f60e76bfa23df1ca89ae574e.zip cpython-1aca953a40425833f60e76bfa23df1ca89ae574e.tar.gz cpython-1aca953a40425833f60e76bfa23df1ca89ae574e.tar.bz2 |
Fix example ignoring ".svn" directories in compileall.
Diffstat (limited to 'Doc/library')
-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:: |