Skip to content

Commit fe280c6

Browse files
committed
[docs] link cross-link SetState/GetState with DigitalInOut class
1 parent 42fe448 commit fe280c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

circuitpython_mocks/digitalio/operations.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ def assert_state(self, value: bool | int):
99

1010

1111
class SetState(_State):
12-
"""A class to represent setting the state of a Digital output pin."""
12+
"""A class to represent setting the state of a
13+
:py:class:`~circuitpython_mocks.digitalio.DigitalInOut` pin."""
1314

1415
def __repr__(self) -> str:
1516
return f"<SetState value='{self.state}'>"
1617

1718

1819
class GetState(_State):
19-
"""A class to represent getting the state of a Digital output pin."""
20+
"""A class to represent getting the state of a
21+
:py:class:`~circuitpython_mocks.digitalio.DigitalInOut` pin."""
2022

2123
def __repr__(self) -> str:
2224
return f"<GetState value='{self.state}'>"

0 commit comments

Comments
 (0)