Fix method split_path's docstring 'versionadded'
This method was merged in 3.11, not 3.9. Change-Id: I35a9778d017466b044521cbb4c9d282d14c128c4
This commit is contained in:
parent
947d73ae0b
commit
cbf5dde05c
@ -435,7 +435,7 @@ def split_path(path, minsegs=1, maxsegs=None, rest_with_last=False):
|
||||
segments will return as None)
|
||||
:raises: ValueError if given an invalid path
|
||||
|
||||
.. versionadded:: 3.9
|
||||
.. versionadded:: 3.11
|
||||
"""
|
||||
if not maxsegs:
|
||||
maxsegs = minsegs
|
||||
|
Loading…
x
Reference in New Issue
Block a user