Skip to content

Commit

Permalink
docs(readthedocs): refine code block in docstring of `table_styles.py…
Browse files Browse the repository at this point in the history
…::custom_styles()`
  • Loading branch information
BjoernLudwigPTB committed Mar 15, 2020
1 parent 1aac9ad commit c7d900e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pyxml2pdf/styles/table_styles.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ def custom_styles(self) -> Dict[str, Union[Tuple[str, ...], StyleSheet1]]:
:returns: the custom styles and stylesheet in the Form
.. code-block:: python
{
"heading": List[Styles],
"normal": List[Styles],
"sub_heading": List[Styles],
"stylesheet": StyleSheet1
}
custom_styles = {
"heading": List[Styles],
"normal": List[Styles],
"sub_heading": List[Styles],
"stylesheet": StyleSheet1
}
"""
return self._custom_styles

0 comments on commit c7d900e

Please sign in to comment.