Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix #252: Correct wrong str type in docstring #253

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

Merged
merged 2 commits into from
May 13, 2020

Conversation

tomschr
Copy link
Member

@tomschr tomschr commented May 13, 2020

Type should be VersionInfo instead of str in VersionInfo.bump_build and VersionInfo.bump_prerelease

@tlaferriere: could you have a look please?

Type should be VersionInfo instead of str in
VersionInfo.bump_build and VersionInfo.bump_prerelease

Co-authored-by: Thomas Laferriere <tlaferriere@users.noreply.github.com>
@tomschr tomschr added the Bug Error, flaw or fault to produce incorrect or unexpected results label May 13, 2020
@tlaferriere
Copy link
Contributor

Is the :class: prefix necessary? The other bumps use simply VersionInfo

@tomschr
Copy link
Member Author

tomschr commented May 13, 2020

Well, Sphinx creates a reference to the class so the user can click the link. IMHO, it improves usability of the API doc a bit.

If the others does not contain that prefix, then it's inconsistent. In that case, I would change that too.

Use :class: prefix for VersionInfo object
@tomschr tomschr merged commit 1f0d49b into python-semver:master May 13, 2020
@tomschr tomschr deleted the bugfix/252-rtype-in-docstring branch May 13, 2020 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error, flaw or fault to produce incorrect or unexpected results
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.