From: Raymond Hettinger Date: Mon, 25 Mar 2019 07:23:39 +0000 (-0700) Subject: Fix line ending (GH-12531) X-Git-Tag: v3.8.0a3~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9dcc095f45278eed465f54f324327d0375d73b19;p=thirdparty%2FPython%2Fcpython.git Fix line ending (GH-12531) --- 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 @@ class HTMLDoc(Doc): 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')