summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2019-08-24 14:57:46 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2019-08-26 21:37:10 +0200
commit870060605e3955114766a979de1afadbea4dc603 (patch)
tree87c6a0e3656ad0eb3758f2b14cfceadde689188b /README.rst
parent5c1abbef4d86bcd1ec68cf5deb90b559faf25502 (diff)
downloadsemantic-version-870060605e3955114766a979de1afadbea4dc603.tar.gz
Deprecate support for 'partial' versions.rba/pre-2.8
Their comparison semantics were ill-defined, and mostly an implementation detail for the old, 'native' specs.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst8
1 files changed, 0 insertions, 8 deletions
diff --git a/README.rst b/README.rst
index 2adef1b..ef824ea 100644
--- a/README.rst
+++ b/README.rst
@@ -103,14 +103,6 @@ If the provided version string is invalid, a :exc:`ValueError` will be raised:
raise ValueError('Invalid version string: %r' % version_string)
ValueError: Invalid version string: '0.1'
-In order to define "relaxed" version strings, you must pass in ``partial=True``:
-
-.. code-block:: pycon
-
- >>> v = semantic_version.Version('0.1', partial=True)
- >>> list(v)
- [0, 1, None, None, None]
-
Obviously, :class:`Versions <Version>` can be compared: