diff --git a/docs/dev/adding_instruments/instrument.rst b/docs/dev/adding_instruments/instrument.rst index 52641edaf9..3ec8583e51 100644 --- a/docs/dev/adding_instruments/instrument.rst +++ b/docs/dev/adding_instruments/instrument.rst @@ -78,7 +78,7 @@ The most basic instrument, for our "Extreme 5000" example starts like this: # THE SOFTWARE. # - # from pymeasure.instruments import Instrument + from pymeasure.instruments import Instrument This is a minimal instrument definition: diff --git a/docs/dev/adding_instruments/properties.rst b/docs/dev/adding_instruments/properties.rst index 2eb3e52ec8..8f50df5b42 100644 --- a/docs/dev/adding_instruments/properties.rst +++ b/docs/dev/adding_instruments/properties.rst @@ -22,7 +22,7 @@ PyMeasure comes with three central convenience factory functions for making prop You can call them, however, as :code:`Instrument.control`, :code:`Instrument.measurement`, and :code:`Instrument.setting`. The :func:`Instrument.measurement ` function returns a property that can only read values from an instrument. -For example, if our "Extreme 5000" has the :code:`*IDN?` command, we can write the following property to be added after the :code:`def __init__` line in our above example class, or added to the class after the fact as in the code here: +For example, if our "Extreme 5000" has the :code:`:TEMP?` command, we can write the following property to be added after the :code:`def __init__` line in our above example class, or added to the class after the fact as in the code here: .. _Python properties: https://docs.python.org/3/howto/descriptor.html#properties