summaryrefslogtreecommitdiff
path: root/docs/ref/files
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-08-31 07:14:44 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-08-31 07:19:19 +0200
commit6201141b2ccfc54874cb43158daae0efd49afa23 (patch)
tree59d96daf9fde3a37ddf96751dbcc0ee4e257c88b /docs/ref/files
parent03fa846c6ab6abb7948ed6ecc84f35e7b6244b54 (diff)
Refs #30736 -- Added missing versionadded annotations for Storage.get_alternative_name().
Thanks Simon Charette for the report.
Diffstat (limited to 'docs/ref/files')
-rw-r--r--docs/ref/files/storage.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt
index 0724a0cda1..b2710062df 100644
--- a/docs/ref/files/storage.txt
+++ b/docs/ref/files/storage.txt
@@ -107,6 +107,8 @@ The ``Storage`` class
.. method:: get_alternative_name(file_root, file_ext)
+ .. versionadded:: 3.0
+
Returns an alternative filename based on the ``file_root`` and
``file_ext`` parameters, an underscore plus a random 7 character
alphanumeric string is appended to the filename before the extension.