From 43994abaac3661d59b8bed72e3b22ebb24b2033e Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sat, 2 Nov 2024 18:11:41 -0400 Subject: [PATCH] Fix a few links that referred to the wrong lines of code --- CHANGELOG.md | 2 +- docs/features/prompt.rst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7a0dcd1..d4a4cb5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/docs/features/prompt.rst b/docs/features/prompt.rst index 325891cf..e429e896 100644 --- a/docs/features/prompt.rst +++ b/docs/features/prompt.rst @@ -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 ------------------- @@ -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 ------------------- @@ -34,7 +34,7 @@ the :ref:`Application Lifecycle Hooks ` such as a :ref:`Postcommand hook `. 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 ---------------------