Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Handle more platforms in simple if statements #633

Open
@jakebailey

Description

@jakebailey

Followup to #569. We now check if sys.platform is win32 or not, which handles almost case in typeshed, but there are more platforms we could be checking. See: https://docs.python.org/3/library/sys.html#sys.platform

Namely, darwin: https://github.com/python/typeshed/blob/de1755b263ed0b80aba35f043550c91a508c3d08/stdlib/3/stat.pyi#L68

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions