Skip to content

Commit

Permalink
fix: docstrings formating (was not showing some doctests)
Browse files Browse the repository at this point in the history
  • Loading branch information
thorwhalen committed Dec 7, 2024
1 parent ecdea82 commit a92abb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lkj/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def indent_lines(string: str, indent: str, *, line_sep='\n') -> str:
:param indent: The string to use for indentation.
:return: The indented string.
Examples:
>>> print(indent_lines('This is a test.\nAnother line.', ' ' * 8))
This is a test.
Another line.
Expand All @@ -26,7 +25,6 @@ def most_common_indent(string: str) -> str:
:param string: The string to analyze.
:return: The most common indentation string.
Examples:
>>> most_common_indent(' This is a test.\n Another line.')
' '
"""
Expand Down

0 comments on commit a92abb2

Please sign in to comment.