Skip to content

Commit

Permalink
Fix some docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtm committed Jul 25, 2023
1 parent 5d1a4e6 commit e00b9c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/rinoh/font/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class Typeface(Resource, dict):
The fonts collected in a typeface differ in weight, width and/or slant.
Args:
*fonts (:class:`Font`): the fonts that make up this typeface
fonts (:class:`Font`): the fonts that make up this typeface
"""

Expand Down
2 changes: 1 addition & 1 deletion src/rinoh/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class Heading(StaticParagraph):
"""The title for a section
Args:
title (StyledText): this heading's text
content (StyledText): this heading's text
"""

Expand Down
4 changes: 2 additions & 2 deletions src/rinoh/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ class TemplateConfiguration(RuleSet):
template (DocumentTemplateMeta or str): the document template to
configure
description (str): a short string describing this style sheet
**options: configuration values for the configuration attributes
options: configuration values for the configuration attributes
defined by the document :attr:`template`
"""
Expand Down Expand Up @@ -707,7 +707,7 @@ class PartsList(AttributeType, list):
"""Stores the names of the document part templates making up a document
Args:
*parts (list[str]): the names of the document parts
parts (list[str]): the names of the document parts
"""

Expand Down

0 comments on commit e00b9c6

Please sign in to comment.