Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/combinat/parallelogram_polyomino.py: Fix doctest markup
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 16, 2022
1 parent 699325e commit d511048
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/sage/combinat/parallelogram_polyomino.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,9 @@ def _dispatch(self, obj, dispatch_to, option, *get_values, **set_values):
specifications for the options and then to add the options to the
class.
The _dispatch method will then call:
obj.``<option name> + '_' + <current value of option>``(
*get_values, **set_values)
The ``_dispatch`` method will then call the method named
``<option name> + '_' + <current value of option>`` of ``obj``
with arguments ``*get_values, **set_values``.
Note that the argument ``self`` is necessary here because the
dispatcher is a method of the options class and not of ``self``.
Expand Down

0 comments on commit d511048

Please sign in to comment.