Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 22fcae9

Browse files
committed
Make docstrings raw, since they contain literal backslashes.
1 parent a6e5971 commit 22fcae9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/distutils/command/build_ext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ def get_ext_fullname (self, ext_name):
545545
return self.package + '.' + ext_name
546546

547547
def get_ext_filename (self, ext_name):
548-
"""Convert the name of an extension (eg. "foo.bar") into the name
548+
r"""Convert the name of an extension (eg. "foo.bar") into the name
549549
of the file from which it will be loaded (eg. "foo/bar.so", or
550550
"foo\bar.pyd").
551551
"""

Lib/pre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# module 're' -- A collection of regular expression operations
22

3-
"""Support for regular expressions (RE).
3+
r"""Support for regular expressions (RE).
44
55
This module provides regular expression matching operations similar to
66
those found in Perl. It's 8-bit clean: the strings being processed may

0 commit comments

Comments
 (0)