diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index 9526e236f20..264991a28c6 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -744,10 +744,9 @@ def pyprop2sphinx(ident, fw, identifier, py_prop): else: fw(ident + ".. attribute:: %s\n\n" % identifier) write_indented_lines(ident + " ", fw, py_prop.__doc__) + fw("\n") if py_prop.fset is None: fw(ident + " (readonly)\n\n") - else: - fw("\n") def pymodule2sphinx(basepath, module_name, module, title): |