Skip to content

Commit 5e7aad9

Browse files
authored
gh-133503: Remove note attribute and document -s separately
1 parent 8f2db41 commit 5e7aad9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/compileall.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,18 @@ compile Python sources.
5656
executed.
5757

5858
.. option:: -s strip_prefix
59+
60+
.. warning::
61+
Removing the prefix makes paths relative to it.
62+
5963
.. option:: -p prepend_prefix
6064

6165
Remove (``-s``) or append (``-p``) the given prefix of paths
6266
recorded in the ``.pyc`` files.
6367
Cannot be combined with ``-d``.
6468

65-
.. warning::
66-
Removing the prefix makes paths relative to it.
67-
68-
.. note::
69-
- ``-s`` and ``-p`` can be used simultaneously.
70-
- ``-p /`` can be used to make the path absolute.
69+
``-s`` and ``-p`` can be used simultaneously.
70+
``-p /`` can be used to make the path absolute.
7171

7272
.. option:: -x regex
7373

0 commit comments

Comments
 (0)