Add missing docstrings for TarInfo objects (#12555)

This commit is contained in:
Raymond Hettinger 2019-03-27 13:16:34 -07:00 committed by GitHub
parent d929f1838a
commit a694f23948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 9 deletions

View file

@ -997,8 +997,8 @@ class HTMLDoc(Doc):
if name:
push('<dl><dt><strong>%s</strong></dt>\n' % name)
if object.__doc__ is not None:
doc = self.markup(getdoc(object), self.preformat)
doc = self.markup(getdoc(object), self.preformat)
if doc:
push('<dd><tt>%s</tt></dd>\n' % doc)
push('</dl>\n')