Skip to content
Merged
Prev Previous commit
Next Next commit
docs update
  • Loading branch information
frenzymadness committed May 12, 2020
commit e2f3a5080298fba9aa16408bcac61efa7133867d
12 changes: 6 additions & 6 deletions Doc/library/compileall.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ compile Python sources.

.. cmdoption:: --hardlink-dupes

Use hardlinks to prevent duplicates if ``.pyc`` files for multiple
optimization levels have the same content.
If two ``.pyc`` files with different optimization level have
the same content, use hard links to consolidate duplicate files.

.. versionchanged:: 3.2
Added the ``-i``, ``-b`` and ``-h`` options.
Expand Down Expand Up @@ -198,8 +198,8 @@ Public functions
the ``-s``, ``-p`` and ``-e`` options described above.
They may be specified as ``str``, ``bytes`` or :py:class:`os.PathLike`.

If *hardlink_dupes* is true, hardlinks are used to prevent duplicates
if ``.pyc`` files for multiple optimization levels have the same content.
If *hardlink_dupes* is true and two ``.pyc`` files with different optimization
level have the same content, use hard links to consolidate duplicate files.

.. versionchanged:: 3.2
Added the *legacy* and *optimize* parameter.
Expand Down Expand Up @@ -265,8 +265,8 @@ Public functions
the ``-s``, ``-p`` and ``-e`` options described above.
They may be specified as ``str``, ``bytes`` or :py:class:`os.PathLike`.

If *hardlink_dupes* is ``True``, hardlinks are used to prevent duplicates
if ``.pyc`` files for multiple optimization levels have the same content.
If *hardlink_dupes* is true and two ``.pyc`` files with different optimization
level have the same content, use hard links to consolidate duplicate files.

.. versionadded:: 3.2

Expand Down