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

Improve usage section #314

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
Nov 4, 2020
Merged

Conversation

tomschr
Copy link
Member

@tomschr tomschr commented Nov 3, 2020

This PR fixes #312 and contains the following changes:

  • Correct :class: directive and use :class:~semver.version.Version
  • Mention the rename of VersionInfo -> Version class
  • Remove semver. prefix in doctests to make examples shorter
  • Correct some references to dunder methods like __getitem__, __gt__ etc.
  • Use :py:exec: reference to Python exceptions.
  • Remove inconsistencies and mention module level function as deprecated and discouraged from using
  • Use empty super() call in semverwithvprefix.py example instead of the more verbose super(SemVerWithVPrefix, self)

@tomschr tomschr added Bug Error, flaw or fault to produce incorrect or unexpected results Doc Documentation related issue labels Nov 3, 2020
@tomschr tomschr self-assigned this Nov 3, 2020
* Correct :class: directive and use :class:`~semver.version.Version`
* Mention the rename of VersionInfo -> Version class
* Remove semver. prefix in doctests to make examples shorter
* Correct some references to dunder methods like __getitem__, __gt__ etc.
* Use :py:exec: reference to Python exceptions.
* Remove inconsistencies and mention module level function as
  deprecated and discouraged from using
* Make empty super() call in semverwithvprefix.py example
* Add changelog.d file
@tomschr tomschr force-pushed the bugfix/312-usage-doc branch from 539d723 to a8dd4ea Compare November 4, 2020 11:10
@tomschr tomschr marked this pull request as ready for review November 4, 2020 11:13
@tomschr tomschr merged commit 44708ef into python-semver:master Nov 4, 2020
@tomschr tomschr deleted the bugfix/312-usage-doc branch November 4, 2020 11:14
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 Doc Documentation related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework Usage Documentation
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.