summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKa-Ping Yee <ping@zesty.ca>2001-03-10 09:33:14 (GMT)
committerKa-Ping Yee <ping@zesty.ca>2001-03-10 09:33:14 (GMT)
commit22fcae976af53e8a3a26e8d1fb799a17992dc678 (patch)
tree4b7b6f9b218416f5023e36ac13d294cd9ce9c19b
parenta6e59719ec611a012227719e7d3ed1730601cca9 (diff)
downloadcpython-22fcae976af53e8a3a26e8d1fb799a17992dc678.zip
cpython-22fcae976af53e8a3a26e8d1fb799a17992dc678.tar.gz
cpython-22fcae976af53e8a3a26e8d1fb799a17992dc678.tar.bz2
Make docstrings raw, since they contain literal backslashes.
-rw-r--r--Lib/distutils/command/build_ext.py2
-rw-r--r--Lib/pre.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index 14cfebf..8666975 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -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").
"""
diff --git a/Lib/pre.py b/Lib/pre.py
index a3188fe..357e0a6 100644
--- a/Lib/pre.py
+++ b/Lib/pre.py
@@ -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