We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3461d3 commit d29852aCopy full SHA for d29852a
src/libtmux/_vendor/version.py
@@ -45,11 +45,20 @@
45
def parse(version: str) -> "Version":
46
"""Parse the given version string.
47
48
+ Examples
49
+ --------
50
>>> parse('1.0.dev1')
51
<Version('1.0.dev1')>
52
- :param version: The version string to parse.
- :raises InvalidVersion: When the version string is not a valid version.
53
+ Parameters
54
+ ----------
55
+ version :
56
+ The version string to parse.
57
+
58
+ Raises
59
+ ------
60
+ InvalidVersion
61
+ When the version string is not a valid version.
62
"""
63
return Version(version)
64
0 commit comments