Use a method decorator to deduplicate binary operator logic (#118)
Use a method decorator to deduplicate binary operator logic (#118)

The binary-operator comparison methods of the `VersionInfo` class all contain
the same boilerplate type-checking code. This patch adds a decorator function
that wraps these methods in the type-check logic, which allows the operator
method implementations to be stripped down to single lines of code – whose
legibility allows them to be readily scanned by newcomers to the project and
others unfamiliar with the codebase.
python-semver/python-semver,k-bx/python-semver