Fix documented default loc parameter for add_one_completer() (#5289)

* Correct documentation about default parameter

* Create DanielSaunders-patch-1.rst
This commit is contained in:
Daniel Saunders 2024-02-27 15:22:12 +00:00 committed by GitHub
parent 1da7118e23
commit d4a342f49d
Failed to generate hash of commit
2 changed files with 4 additions and 1 deletions

View file

@ -203,7 +203,7 @@ active completers via the ``completer add`` command or ``xonsh.completers.comple
* ``">KEY"``, where ``KEY`` is a pre-existing name, indicates that this should be added after the completer named ``KEY``
* ``"<KEY"``, where ``KEY`` is a pre-existing name, indicates that this should be added before the completer named ``KEY``
If ``POS`` is not provided, it defaults to ``"start"``.
If ``POS`` is not provided, it defaults to ``"end"``.
.. note:: It is also possible to manipulate ``__xonsh__.completers`` directly,
but this is the preferred method.

View file

@ -0,0 +1,3 @@
**Fixed:**
* Fix documented default loc parameter for add_one_completer()