update type hints of `poetry.core.version.pep440.version.Version` to use generics
update type hints of `poetry.core.version.pep440.version.Version` to use generics

python-poetry/poetry-core,python-poetry/poetry-core,python-poetry/poetry-core