Skip to content

Commit

Permalink
Fix typo 'raise_if_result_exits' in render() argument name (#211)
Browse files Browse the repository at this point in the history
* Typo for issue #210

---------

Co-authored-by: bastb <[email protected]>
  • Loading branch information
bastbnl and bastb authored Oct 25, 2023
1 parent b85a7a8 commit fca3501
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ https://github.com/xflr6/graphviz/blob/master/docs/api.rst#graph-1
| outfile: Path for the rendered output file.
| engine: Layout engine for rendering
| (``'dot'``, ``'neato'``, ...).
| raise_if_result_exits: Raise :exc:`graphviz.FileExistsError`
| raise_if_result_exists: Raise :exc:`graphviz.FileExistsError`
| if the result file exists.
| overwrite_source: Allow ``dot`` to write to the file it reads from.
| Incompatible with ``raise_if_result_exists``.
Expand Down Expand Up @@ -1016,7 +1016,7 @@ https://github.com/xflr6/graphviz/blob/master/docs/api.rst#digraph-1
| outfile: Path for the rendered output file.
| engine: Layout engine for rendering
| (``'dot'``, ``'neato'``, ...).
| raise_if_result_exits: Raise :exc:`graphviz.FileExistsError`
| raise_if_result_exists: Raise :exc:`graphviz.FileExistsError`
| if the result file exists.
| overwrite_source: Allow ``dot`` to write to the file it reads from.
| Incompatible with ``raise_if_result_exists``.
Expand Down Expand Up @@ -1425,7 +1425,7 @@ https://github.com/xflr6/graphviz/blob/master/docs/api.rst#source-1
| outfile: Path for the rendered output file.
| engine: Layout engine for rendering
| (``'dot'``, ``'neato'``, ...).
| raise_if_result_exits: Raise :exc:`graphviz.FileExistsError`
| raise_if_result_exists: Raise :exc:`graphviz.FileExistsError`
| if the result file exists.
| overwrite_source: Allow ``dot`` to write to the file it reads from.
| Incompatible with ``raise_if_result_exists``.
Expand Down
2 changes: 1 addition & 1 deletion graphviz/backend/rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def render(engine: str,
neato_no_op: Neato layout engine no-op flag.
quiet: Suppress ``stderr`` output from the layout subprocess.
outfile: Path for the rendered output file.
raise_if_result_exits: Raise :exc:`graphviz.FileExistsError`
raise_if_result_exists: Raise :exc:`graphviz.FileExistsError`
if the result file exists.
overwrite_filepath: Allow ``dot`` to write to the file it reads from.
Incompatible with ``raise_if_result_exists``.
Expand Down
2 changes: 1 addition & 1 deletion graphviz/rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def render(self,
outfile: Path for the rendered output file.
engine: Layout engine for rendering
(``'dot'``, ``'neato'``, ...).
raise_if_result_exits: Raise :exc:`graphviz.FileExistsError`
raise_if_result_exists: Raise :exc:`graphviz.FileExistsError`
if the result file exists.
overwrite_source: Allow ``dot`` to write to the file it reads from.
Incompatible with ``raise_if_result_exists``.
Expand Down

0 comments on commit fca3501

Please sign in to comment.