Skip to content

Can stdlib_list(version) default to the current version? #5

@thebjorn

Description

@thebjorn

I think it would be convenient if this would work (on a python 2.7 installation):

from stdlib_list import stdlib_list
stdlib_list() == stdlib_list("2.7")

ie. that the version parameter defaults to the Python version you're running on, since creating that parameter is tedious and non-obvious:

stdlib_list('.'.join(str(x) for x in sys.version_info[:2]))

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