Skip to content

State ._pth files are Windows-only #144329

@htgoebel

Description

@htgoebel

Documentation

The section about ._pth files (these with the underscore) does not state that this feature is Windows-only. The section says: "The shared library path is always known on Windows, however it may not be available on other platforms." But up to this sentence, there is no mention of shared library path — leaving the impression that ._pth files work on all plattforms, just shared library path might not.

OTOH the source https://github.com/python/cpython/blob/v3.14.0/Lib/test/test_site.py#L661 clearly states that ._pth files are Windows-only.

Expected

Either in the section head or at the very beginning of this section state "Windows only".

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsdocsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions