mirror of https://github.com/python/cpython
Make docstrings raw, since they contain literal backslashes.
This commit is contained in:
parent
a6e59719ec
commit
22fcae976a
|
@ -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").
|
||||
"""
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue