Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions Doc/library/compileall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,18 @@ compile Python sources.
executed.

.. option:: -s strip_prefix

Remove the given prefix from paths recorded in the ``.pyc`` files.
Paths are made relative to the prefix.

This option can be used with ``-p`` but not with ``-d``.

.. option:: -p prepend_prefix

Remove (``-s``) or append (``-p``) the given prefix of paths
recorded in the ``.pyc`` files.
Cannot be combined with ``-d``.
Prepend the given prefix to paths recorded in the ``.pyc`` files.
Use ``-p /`` to make the paths absolute.

This option can be used with ``-s`` but not with ``-d``.

.. option:: -x regex

Expand Down
Loading