Skip to content

Commit

Permalink
Fix ReST markup.
Browse files Browse the repository at this point in the history
  • Loading branch information
doerwalter committed Sep 7, 2023
1 parent fa23a06 commit 1ac4f4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/UL4_Expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ argument list and positional arguments must always be before keyword arguments.
A list of builtin functions can be found in :ref:`UL4_functions`.

.. hint::
This documentation uses Python's `/` and `*` notation to specify
This documentation uses Python's ``/`` and ``*`` notation to specify
positional-only and keyword-only arguments. So

.. sourcecode:: ul4

<?ul4 f(x, /, y, *, z)?>
means that the function `f` accepts the parameter ``x`` only when passed by
position, `y` can be passed either by position or by keyword and `z` will
means that the function ``f`` accepts the parameter ``x`` only when passed by
position, ``y`` can be passed either by position or by keyword and ``z`` will
only be accepted when passed by keyword.

.. hint::
Expand Down

0 comments on commit 1ac4f4b

Please sign in to comment.