Make docstrings raw, since they contain literal backslashes.
authorKa-Ping Yee <ping@zesty.ca>
Sat, 10 Mar 2001 09:33:14 +0000 (09:33 +0000)
committerKa-Ping Yee <ping@zesty.ca>
Sat, 10 Mar 2001 09:33:14 +0000 (09:33 +0000)
Lib/distutils/command/build_ext.py
Lib/pre.py

index 14cfebf7200b1bdfb57ce33d72b10143a74ae6a6..866697577d91295fef7c2442a07f085f6f28fb02 100644 (file)
@@ -545,7 +545,7 @@ class build_ext (Command):
             return self.package + '.' + ext_name
 
     def get_ext_filename (self, ext_name):
-        """Convert the name of an extension (eg. "foo.bar") into the name
+        r"""Convert the name of an extension (eg. "foo.bar") into the name
         of the file from which it will be loaded (eg. "foo/bar.so", or
         "foo\bar.pyd").
         """
index a3188fec9d6e8be5f08ce15b49ec0d26cf180ecb..357e0a658c045431749810cfcd03f5cfe093b2f9 100644 (file)
@@ -1,6 +1,6 @@
 # module 're' -- A collection of regular expression operations
 
-"""Support for regular expressions (RE).
+r"""Support for regular expressions (RE).
 
 This module provides regular expression matching operations similar to
 those found in Perl. It's 8-bit clean: the strings being processed may