Skip to content
Snippets Groups Projects
Commit 1cdf70a5 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Doc adjustment

parent 8979cc26
No related branches found
No related tags found
No related merge requests found
......@@ -570,7 +570,9 @@ class AtlasDescription(object):
"""Find an :class:`.AtlasLabel` either by ``index``, or by ``value``.
Exactly one of ``index`` or ``value`` may be specified - a
``ValueError`` is raised otherwise.
``ValueError`` is raised otherwise. If an invalid ``index`` or
``value`` is specified, an ``IndexError`` or ``KeyError`` will be
raised.
"""
if (index is None and value is None) or \
(index is not None and value is not None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment