[Python-checkins] Fix line ending (GH-12531)

Raymond Hettinger webhook-mailer at python.org
Mon Mar 25 03:23:57 EDT 2019


https://github.com/python/cpython/commit/9dcc095f45278eed465f54f324327d0375d73b19
commit: 9dcc095f45278eed465f54f324327d0375d73b19
branch: master
author: Raymond Hettinger <rhettinger at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-03-25T00:23:39-07:00
summary:

Fix line ending (GH-12531)

files:
M Lib/pydoc.py

diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 2f570e4dc5de..0cf3d3359624 100644
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -886,7 +886,7 @@ def spilldata(msg, attrs, predicate):
                           lambda t: t[1] == 'class method')
             attrs = spill('Static methods %s' % tag, attrs,
                           lambda t: t[1] == 'static method')
-            attrs = spilldescriptors("Readonly properties %s:\n" % tag, attrs,
+            attrs = spilldescriptors("Readonly properties %s" % tag, attrs,
                                      lambda t: t[1] == 'readonly property')
             attrs = spilldescriptors('Data descriptors %s' % tag, attrs,
                                      lambda t: t[1] == 'data descriptor')



More information about the Python-checkins mailing list