version property

Object? get version

version (getter)

python docstring

This class abstracts handling of version specifiers.

.. tip::

It is generally not required to instantiate this manually. You should instead
prefer to work with :class:`SpecifierSet` instead, which can parse
comma-separated version specifiers (which is what package metadata contains).

Implementation

Object? get version => getAttribute("version");
set version (Object? version)

version (setter)

python docstring

This class abstracts handling of version specifiers.

.. tip::

It is generally not required to instantiate this manually. You should instead
prefer to work with :class:`SpecifierSet` instead, which can parse
comma-separated version specifiers (which is what package metadata contains).

Implementation

set version(Object? version) => setAttribute("version", version);