Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d29852a

Browse filesBrowse files
committed
docs(version[parse]): Fix numpy doc styling
1 parent e3461d3 commit d29852a
Copy full SHA for d29852a

File tree

Expand file treeCollapse file tree

1 file changed

+11
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-2
lines changed

‎src/libtmux/_vendor/version.py

Copy file name to clipboardExpand all lines: src/libtmux/_vendor/version.py
+11-2Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,20 @@
4545
def parse(version: str) -> "Version":
4646
"""Parse the given version string.
4747
48+
Examples
49+
--------
4850
>>> parse('1.0.dev1')
4951
<Version('1.0.dev1')>
5052
51-
:param version: The version string to parse.
52-
: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.
5362
"""
5463
return Version(version)
5564

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.