Skip to content

Commit b137fb7

Browse files
author
James Souter
committed
Update docstring
1 parent 17f3596 commit b137fb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fastcs/controller.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ class method and a controller instance, so that it can be called from any
144144
setattr(self, attr_name, attr.bind(self))
145145

146146
def _validate_io(self, ios: Sequence[AttributeIO[T, AttributeIORefT]]):
147-
"""Validate that each Attribute has an AttributeIORef for which the
148-
controller has an associated AttributeIO class, and that no two AttributeIO
149-
classes handle the same AttributeIORef type"""
147+
"""Validate that there is exactly one AttributeIO class registered to the
148+
controller for each type of AttributeIORef belonging to the attributes of the
149+
controller"""
150150
for ref_type, count in Counter([io.ref_type for io in ios]).items():
151151
if count > 1:
152152
raise RuntimeError(

0 commit comments

Comments
 (0)