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:
ChangBo Guo(gcb) 2016-05-31 12:33:28 +08:00
parent 947d73ae0b
commit cbf5dde05c
1 changed files with 1 additions and 1 deletions

View File

@ -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