Skip to content

Commit 0b4e8b0

Browse files
authored
Fix a few links that referred to the wrong lines of code (#1359)
1 parent 153c308 commit 0b4e8b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 2.5.1 (November TBD, 2024)
1+
# 2.5.1 (November 2, 2024)
22
* Bug Fixes
33
* Fixed readline bug when using `ipy` command with `gnureadline` and Python 3.13
44

docs/features/prompt.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ attribute. This contains the string which should be printed as a prompt
1111
for user input. See the Pirate_ example for the simple use case of statically
1212
setting the prompt.
1313

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

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

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

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

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

3939
Asynchronous Feedback
4040
---------------------

0 commit comments

Comments
 (0)