Skip to content

Commit

Permalink
docs: stylize optional default args
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Feb 13, 2024
1 parent 403cf00 commit 1ef4ba2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/pqdict.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ pqdict class
**Priority Queue API**

.. automethod:: top
.. automethod:: top([default])

.. automethod:: topvalue
.. automethod:: topvalue([default])

.. automethod:: topitem
.. automethod:: topitem([default])

.. method:: pop(*, [default])

Expand All @@ -100,15 +100,15 @@ pqdict class
* If the pqdict is empty, return ``default`` if provided, otherwise
raise ``Empty``.

.. automethod:: popvalue
.. automethod:: popvalue([default])

.. automethod:: popitem
.. automethod:: popitem([default])

.. automethod:: additem

.. automethod:: updateitem

.. automethod:: pushpopitem(key, value)
.. automethod:: pushpopitem

.. automethod:: replace_key

Expand Down

0 comments on commit 1ef4ba2

Please sign in to comment.