Skip to content

Commit

Permalink
Fix docs return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Dec 18, 2023
1 parent 6c84327 commit f3537ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ Gets the variable instance by style name, eg. style_name = 'Bold'
:type style_name: str
:returns: The variable instance matching the given style name.
:rtype: str or None
:rtype: dict or None
"""
instance = font.get_variable_instance_by_style_name(style_name="Bold")
```
Expand Down
2 changes: 1 addition & 1 deletion fontbro/font.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ def get_variable_instance_by_style_name(self, style_name):
:type style_name: str
:returns: The variable instance matching the given style name.
:rtype: str or None
:rtype: dict or None
"""
instances = self.get_variable_instances()
for instance in instances:
Expand Down

0 comments on commit f3537ab

Please sign in to comment.