Skip to content

Commit

Permalink
Merge pull request #1172 from clintonroy/master
Browse files Browse the repository at this point in the history
DOC: missing self argument.
  • Loading branch information
danielballan authored Dec 15, 2023
2 parents 68e4fd3 + 48aa0e9 commit c8847c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/explanations/staging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ customize ``stage_sigs`` in the device's ``__init__`` method, like so:
.. code:: python
class MyMotor(EpicsMotor):
def __init__(*args, **kwargs):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.stage_sigs[self.user_offset] = 5
When a ``MyMotor`` device is staged, its ``user_offset`` value will be set
to 5. When it is unstaged, it will be set back to whatever value it had
right before it was staged.
right before it was staged.

0 comments on commit c8847c8

Please sign in to comment.