]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Fix env var typo in perf profiling docs (GH-110404) (#110414)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 5 Oct 2023 17:40:19 +0000 (10:40 -0700)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2023 17:40:19 +0000 (20:40 +0300)
Fix env var typo in perf profiling docs (GH-110404)

Fix typo in docs
(cherry picked from commit a13620685f68957c965fca89343a0e91f95f1bab)

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
Doc/howto/perf_profiling.rst

index 61812c19ae6ca9795d8406d6086fd632695ce298..af7b67d20429502f23f8c19223dce4df9da695a6 100644 (file)
@@ -162,8 +162,7 @@ the :option:`!-X` option takes precedence over the environment variable.
 
 Example, using the environment variable::
 
-   $ PYTHONPERFSUPPORT=1
-   $ python script.py
+   $ PYTHONPERFSUPPORT=1 python script.py
    $ perf report -g -i perf.data
 
 Example, using the :option:`!-X` option::