Skip to content
Merged
Changes from 3 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
6 changes: 6 additions & 0 deletions Doc/library/compileall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,17 @@ compile Python sources.
executed.

.. option:: -s strip_prefix

Removing the prefix makes paths relative to it.
Can be used with ``p``

.. option:: -p prepend_prefix

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

.. option:: -x regex

Expand Down
Loading