Skip to content

Commit edae422

Browse files
committed
docs(version): Fix numpydoc styling
1 parent d29852a commit edae422

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/libtmux/_vendor/version.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,15 @@ class Version(_BaseVersion):
197197
def __init__(self, version: str) -> None:
198198
"""Initialize a Version object.
199199
200-
:param version:
200+
Parameters
201+
----------
202+
version : str
201203
The string representation of a version which will be parsed and normalized
202204
before use.
203-
:raises InvalidVersion:
205+
206+
Raises
207+
------
208+
InvalidVersion
204209
If the ``version`` does not conform to PEP 440 in any way then this
205210
exception will be raised.
206211
"""

0 commit comments

Comments
 (0)