PyDoc: Fix sphinx warnign from missing newline

This commit is contained in:
Aaron Carlisle 2020-10-07 15:51:03 -04:00
parent 3c045923a2
commit 021b94f27c
1 changed files with 1 additions and 2 deletions

View File

@ -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):