Skip to content

Commit 59e6ede

Browse files
committed
common.py(docs): Update version examples in docstrings
why: Examples should reflect current minimum version (3.2a) what: - Update has_version, has_gt_version, has_gte_version docstring examples - Update has_lte_version, has_lt_version docstring examples - Change '1.8' to '3.2a' in all version comparison function docs
1 parent 858329d commit 59e6ede

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libtmux/common.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def has_version(version: str) -> bool:
312312
Parameters
313313
----------
314314
version : str
315-
version number, e.g. '1.8'
315+
version number, e.g. '3.2a'
316316
317317
Returns
318318
-------
@@ -328,7 +328,7 @@ def has_gt_version(min_version: str) -> bool:
328328
Parameters
329329
----------
330330
min_version : str
331-
tmux version, e.g. '1.8'
331+
tmux version, e.g. '3.2a'
332332
333333
Returns
334334
-------
@@ -344,7 +344,7 @@ def has_gte_version(min_version: str) -> bool:
344344
Parameters
345345
----------
346346
min_version : str
347-
tmux version, e.g. '1.8'
347+
tmux version, e.g. '3.2a'
348348
349349
Returns
350350
-------
@@ -360,7 +360,7 @@ def has_lte_version(max_version: str) -> bool:
360360
Parameters
361361
----------
362362
max_version : str
363-
tmux version, e.g. '1.8'
363+
tmux version, e.g. '3.2a'
364364
365365
Returns
366366
-------
@@ -376,7 +376,7 @@ def has_lt_version(max_version: str) -> bool:
376376
Parameters
377377
----------
378378
max_version : str
379-
tmux version, e.g. '1.8'
379+
tmux version, e.g. '3.2a'
380380
381381
Returns
382382
-------

0 commit comments

Comments
 (0)