Fix doc for numbered arg with TempPathFactory.mktemp (#7014)

This commit is contained in:
Daniel Hahler
2020-04-07 11:44:54 +02:00
committed by GitHub
parent 259e5d0610
commit ce806001b0

View File

@@ -59,8 +59,8 @@ class TempPathFactory:
Directory base name, must be a relative path.
:param numbered:
If True, ensure the directory is unique by adding a number
prefix greater than any existing one: ``basename="foo"`` and ``numbered=True``
If ``True``, ensure the directory is unique by adding a numbered
suffix greater than any existing one: ``basename="foo-"`` and ``numbered=True``
means that this function will create directories named ``"foo-0"``,
``"foo-1"``, ``"foo-2"`` and so on.