summaryrefslogtreecommitdiff
path: root/semantic_version
diff options
context:
space:
mode:
Diffstat (limited to 'semantic_version')
-rw-r--r--semantic_version/base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/semantic_version/base.py b/semantic_version/base.py
index 871ccb0..82a9af0 100644
--- a/semantic_version/base.py
+++ b/semantic_version/base.py
@@ -290,7 +290,8 @@ class Version(object):
@classmethod
def parse(cls, version_string, partial=False, coerce=False):
- """Parse a version string into a Version() object.
+ """Parse a version string into a tuple of components:
+ (major, minor, patch, prerelease, build).
Args:
version_string (str), the version string to parse