Skip to content

How to mark version dependent modules? #6733

@sobolevn

Description

@sobolevn

Today I found out that _bootlocale module does not exists for recent versions of Python.

Снимок экрана 2021-12-29 в 20 26 07

But, the file in typeshed is there for all python versions: https://github.com/python/typeshed/blob/master/stdlib/_bootlocale.pyi

So, the question is: how can we mark modules the same way we mark functions / classes with sys.version_info guards?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions