Add missing parameter to docstring

Closes: #4410
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4410
Pull-request-sha: 070a0f44f3

Change-Id: I7a026bf6a2041e7686d90d5f155b88d8001f2ba8
(cherry picked from commit b1e4b59781)
This commit is contained in:
Agam Rafaeli
2018-12-17 12:58:19 -05:00
committed by Mike Bayer
parent eb73b1a1cd
commit e9d209c1d7
+3
View 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.