From e8c91cf4b8a99b6e10d1252fdc7aa8aeee45f146 Mon Sep 17 00:00:00 2001 From: Laurent Lyaudet Date: Sun, 3 Dec 2023 14:06:50 +0100 Subject: [PATCH] LL : correction of two code-blocks python -> pycon after suggestion from #1424 and command `grep -r 'code-block:: python' -A 3 .`. --- source/tutorials/installing-packages.rst | 2 +- source/tutorials/packaging-projects.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tutorials/installing-packages.rst b/source/tutorials/installing-packages.rst index fc42189808..cb995103bf 100644 --- a/source/tutorials/installing-packages.rst +++ b/source/tutorials/installing-packages.rst @@ -52,7 +52,7 @@ please install the latest 3.x version from `python.org`_ or refer to the .. Note:: If you're a newcomer and you get an error like this: - .. code-block:: python + .. code-block:: pycon >>> python3 --version Traceback (most recent call last): diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 23742c7d81..8d13d7b696 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -493,7 +493,7 @@ Make sure you're still in your virtual environment, then run Python: and import the package: -.. code-block:: python +.. code-block:: pycon >>> from example_package_YOUR_USERNAME_HERE import example >>> example.add_one(2)