From fe280c65849ea521863032bf562186074573926d Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Wed, 7 Aug 2024 03:01:57 -0700 Subject: [PATCH] [docs] link cross-link SetState/GetState with DigitalInOut class --- circuitpython_mocks/digitalio/operations.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/circuitpython_mocks/digitalio/operations.py b/circuitpython_mocks/digitalio/operations.py index 9154584..94bc01f 100644 --- a/circuitpython_mocks/digitalio/operations.py +++ b/circuitpython_mocks/digitalio/operations.py @@ -9,14 +9,16 @@ def assert_state(self, value: bool | int): class SetState(_State): - """A class to represent setting the state of a Digital output pin.""" + """A class to represent setting the state of a + :py:class:`~circuitpython_mocks.digitalio.DigitalInOut` pin.""" def __repr__(self) -> str: return f"" class GetState(_State): - """A class to represent getting the state of a Digital output pin.""" + """A class to represent getting the state of a + :py:class:`~circuitpython_mocks.digitalio.DigitalInOut` pin.""" def __repr__(self) -> str: return f""