Skip to content

Commit

Permalink
Fix a few links that referred to the wrong lines of code
Browse files Browse the repository at this point in the history
  • Loading branch information
tleonhardt committed Nov 2, 2024
1 parent 153c308 commit 43994ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 2.5.1 (November TBD, 2024)
# 2.5.1 (November 2, 2024)
* Bug Fixes
* Fixed readline bug when using `ipy` command with `gnureadline` and Python 3.13

Expand Down
6 changes: 3 additions & 3 deletions docs/features/prompt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ attribute. This contains the string which should be printed as a prompt
for user input. See the Pirate_ example for the simple use case of statically
setting the prompt.

.. _Pirate: https://github.com/python-cmd2/cmd2/blob/master/examples/pirate.py#L33
.. _Pirate: https://github.com/python-cmd2/cmd2/blob/master/examples/pirate.py#L39

Continuation Prompt
-------------------
Expand All @@ -24,7 +24,7 @@ subsequent lines of input is defined by the
:attr:`cmd2.Cmd.continuation_prompt` attribute.See the Initialization_ example
for a demonstration of customizing the continuation prompt.

.. _Initialization: https://github.com/python-cmd2/cmd2/blob/master/examples/initialization.py#L33
.. _Initialization: https://github.com/python-cmd2/cmd2/blob/master/examples/initialization.py#L42

Updating the prompt
-------------------
Expand All @@ -34,7 +34,7 @@ the :ref:`Application Lifecycle Hooks <features/hooks:Hooks>` such as a
:ref:`Postcommand hook <features/hooks:Postcommand Hooks>`. See
PythonScripting_ for an example of dynamically updating the prompt.

.. _PythonScripting: https://github.com/python-cmd2/cmd2/blob/master/examples/python_scripting.py#L34-L48
.. _PythonScripting: https://github.com/python-cmd2/cmd2/blob/master/examples/python_scripting.py#L38-L55

Asynchronous Feedback
---------------------
Expand Down

0 comments on commit 43994ab

Please sign in to comment.