rbarrois / python-semanticversion

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

Docs say that named components patch must be both an integer and a tuple of strings #104

Closed claremacrae closed 4 years ago

claremacrae commented 4 years ago

This text is present in both README.rst and docs/index.rst:

In that case, ``major``, ``minor`` and ``patch`` are mandatory, and must be integers.
``prerelease`` and ``patch``, if provided, must be tuples of strings:

I think the second patch reference must be to some other argument instead...

rbarrois commented 4 years ago

Good catch! The second should indeed by build, fixing it now :)

claremacrae commented 4 years ago

Wow - that was quick - thanks @rbarrois !