Skip to content

Commit

Permalink
refactor: update md_table_to_lines() docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mecaneer23 committed Jan 26, 2024
1 parent f3da426 commit 8663aa6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/md_to_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def md_table_to_lines(
- `last_line_idx` (int): The index of the last line of the markdown
table to be converted.
- `filename` (str, optional): The name of the markdown file
containing the table. Default is README.md.
containing the table. Default is "README.md".
- `remove` (tuple[str], optional): The list of characters to be
removed from each line. Default is an empty list.
Expand All @@ -55,13 +55,6 @@ def md_table_to_lines(
- `list[str]`: A list of formatted strings representing the converted
Markdown table.
Raises
------
- `ValueError`: If the last line index is less than or equal to the
first line index.
- `FileNotFoundError`: If the specified markdown file cannot be
found.
"""

_ = """
Expand Down

0 comments on commit 8663aa6

Please sign in to comment.