summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authoroldk <oldk1331@users.noreply.github.com>2018-02-02 08:52:55 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-02-02 08:52:55 (GMT)
commitaa0735f597b072c0eb00404c4d7df359ddc26755 (patch)
treec6ff6cd0d312d35d57b52821df54abc009f95b7a /Python
parent2efb9735899c7c642f3e75a121af82b1679577d3 (diff)
downloadcpython-aa0735f597b072c0eb00404c4d7df359ddc26755.zip
cpython-aa0735f597b072c0eb00404c4d7df359ddc26755.tar.gz
cpython-aa0735f597b072c0eb00404c4d7df359ddc26755.tar.bz2
bpo-32747: Remove trailing spaces in docstrings. (GH-5491)
Diffstat (limited to 'Python')
-rw-r--r--Python/sysmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 873657f..fb1dcfa 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -365,7 +365,7 @@ sys_getdefaultencoding(PyObject *self)
PyDoc_STRVAR(getdefaultencoding_doc,
"getdefaultencoding() -> string\n\
\n\
-Return the current default string encoding used by the Unicode \n\
+Return the current default string encoding used by the Unicode\n\
implementation."
);
@@ -1122,7 +1122,7 @@ PyDoc_STRVAR(enablelegacywindowsfsencoding_doc,
Changes the default filesystem encoding to mbcs:replace for consistency\n\
with earlier versions of Python. See PEP 529 for more information.\n\
\n\
-This is equivalent to defining the PYTHONLEGACYWINDOWSFSENCODING \n\
+This is equivalent to defining the PYTHONLEGACYWINDOWSFSENCODING\n\
environment variable before launching Python."
);
@@ -1812,7 +1812,7 @@ winver -- [Windows only] version number of the Python DLL\n\
#ifdef MS_WINDOWS
/* concatenating string here */
PyDoc_STR(
-"_enablelegacywindowsfsencoding -- [Windows only] \n\
+"_enablelegacywindowsfsencoding -- [Windows only]\n\
"
)
#endif