diff --git a/graphviz/rendering.py b/graphviz/rendering.py index 75331e484c..191ce330bb 100644 --- a/graphviz/rendering.py +++ b/graphviz/rendering.py @@ -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``.