Skip to content

Commit

Permalink
Use proper reference to Python exception in Vertex.get method docst…
Browse files Browse the repository at this point in the history
…ring

Co-authored-by: Steven Elliott <[email protected]>
Signed-off-by: Mitch Negus <[email protected]>
  • Loading branch information
mitchnegus and sdelliot authored Feb 5, 2025
1 parent fc5aefb commit c449dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/firewheel/control/experiment_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def get(self, key, default=None):
The value of the requested attribute if the attribute is in
the set of available attributes, else ``default``. If
``default`` is not given, it defaults to :py:data:`None`, so
that this method never raises a `KeyError`.
that this method never raises a :py:exc:`KeyError`.
Raises:
RuntimeError: If the :py:class:`Vertex` is not :py:attr:`Vertex.valid`.
Expand Down

0 comments on commit c449dce

Please sign in to comment.