rbarrois / python-semanticversion

Semantic version comparison for Python (see http://semver.org/)
BSD 2-Clause "Simplified" License
281 stars 74 forks source link

Update the Version.parse() doc to match the code #124

Closed pombredanne closed 2 years ago

pombredanne commented 2 years ago

The docstring was lying by saying a Version object was returned. Rather this function returns a tuple of version parts.

Signed-off-by: Philippe Ombredanne pombredanne@nexb.com

pombredanne commented 2 years ago

@rbarrois note that alternatively the value returned by parse() could be updated to match the docstring.

rbarrois commented 2 years ago

Thanks! And sorry for the long delay.

At least the reference docs were properly defined — those are official documentation!