Skip to content

Commit e00b9c6

Browse files
committed
Fix some docstrings
1 parent 5d1a4e6 commit e00b9c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/rinoh/font/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class Typeface(Resource, dict):
155155
The fonts collected in a typeface differ in weight, width and/or slant.
156156
157157
Args:
158-
*fonts (:class:`Font`): the fonts that make up this typeface
158+
fonts (:class:`Font`): the fonts that make up this typeface
159159
160160
"""
161161

src/rinoh/structure.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class Heading(StaticParagraph):
104104
"""The title for a section
105105
106106
Args:
107-
title (StyledText): this heading's text
107+
content (StyledText): this heading's text
108108
109109
"""
110110

src/rinoh/template.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ class TemplateConfiguration(RuleSet):
553553
template (DocumentTemplateMeta or str): the document template to
554554
configure
555555
description (str): a short string describing this style sheet
556-
**options: configuration values for the configuration attributes
556+
options: configuration values for the configuration attributes
557557
defined by the document :attr:`template`
558558
559559
"""
@@ -707,7 +707,7 @@ class PartsList(AttributeType, list):
707707
"""Stores the names of the document part templates making up a document
708708
709709
Args:
710-
*parts (list[str]): the names of the document parts
710+
parts (list[str]): the names of the document parts
711711
712712
"""
713713

0 commit comments

Comments
 (0)