Fix doc for `numbered` arg with `TempPathFactory.mktemp` (#7014)
This commit is contained in:
parent
259e5d0610
commit
ce806001b0
|
@ -59,8 +59,8 @@ class TempPathFactory:
|
||||||
Directory base name, must be a relative path.
|
Directory base name, must be a relative path.
|
||||||
|
|
||||||
:param numbered:
|
:param numbered:
|
||||||
If True, ensure the directory is unique by adding a number
|
If ``True``, ensure the directory is unique by adding a numbered
|
||||||
prefix greater than any existing one: ``basename="foo"`` and ``numbered=True``
|
suffix greater than any existing one: ``basename="foo-"`` and ``numbered=True``
|
||||||
means that this function will create directories named ``"foo-0"``,
|
means that this function will create directories named ``"foo-0"``,
|
||||||
``"foo-1"``, ``"foo-2"`` and so on.
|
``"foo-1"``, ``"foo-2"`` and so on.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue