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 | 95aa1726ecbe0e21084f7f3645ab94f8fa4e8a91 (patch) | |
tree | 0df2125a2393dec2966e0c4510da7dbe15cbf0dd | |
parent | 34f5dd0684d852b9cec6733dbca9486e427a83a2 (diff) | |
download | cpython-95aa1726ecbe0e21084f7f3645ab94f8fa4e8a91.zip cpython-95aa1726ecbe0e21084f7f3645ab94f8fa4e8a91.tar.gz cpython-95aa1726ecbe0e21084f7f3645ab94f8fa4e8a91.tar.bz2 |
Fix example ignoring ".svn" directories in compileall.
-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 cf0d5f8..0e79a5a 100644 --- a/Doc/library/compileall.rst +++ b/Doc/library/compileall.rst @@ -127,7 +127,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:: |