]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add missing parameter to docstring 4410/head
authorAgam Rafaeli <agam.rafaeli@gmail.com>
Mon, 17 Dec 2018 16:58:20 +0000 (18:58 +0200)
committerAgam Rafaeli <agam.rafaeli@gmail.com>
Mon, 17 Dec 2018 16:58:20 +0000 (18:58 +0200)
lib/sqlalchemy/util/deprecations.py

index e3eebfc0cac1c24456db1c9e36e192ee12a40912..9000cc7951e539f942a46321a22f9caacdfc68ed 100644 (file)
@@ -25,6 +25,9 @@ def warn_pending_deprecation(msg, stacklevel=3):
 def deprecated(version, message=None, add_deprecation_to_docstring=True):
     """Decorates a function and issues a deprecation warning on use.
 
+    :param version:
+      Issue version in the warning.
+
     :param message:
       If provided, issue message in the warning.  A sensible default
       is used if not provided.