Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document or rename markers.format_full_version() #504

Open
brettcannon opened this issue Jan 31, 2022 · 0 comments
Open

Document or rename markers.format_full_version() #504

brettcannon opened this issue Jan 31, 2022 · 0 comments

Comments

@brettcannon
Copy link
Member

def format_full_version(info: "sys._version_info") -> str:
version = "{0.major}.{0.minor}.{0.micro}".format(info)
kind = info.releaselevel
if kind != "final":
version += kind[0] + str(info.serial)
return version

The function isn't exposed via __all__, but it isn't named to be considered privately, either. Not sure if we should document it or rename it so it's visibly private.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant