From: Agam Rafaeli Date: Mon, 17 Dec 2018 17:58:19 +0000 (-0500) Subject: Add missing parameter to docstring X-Git-Tag: rel_1_3_0b2~63^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1e4b597811768378d964e16bd142e8ee8c448d8;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add missing parameter to docstring Closes: #4410 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4410 Pull-request-sha: 070a0f44f3a6ce651e6b8e9dcc84d2d507d00845 Change-Id: I7a026bf6a2041e7686d90d5f155b88d8001f2ba8 --- diff --git a/lib/sqlalchemy/util/deprecations.py b/lib/sqlalchemy/util/deprecations.py index e3eebfc0ca..9000cc7951 100644 --- a/lib/sqlalchemy/util/deprecations.py +++ b/lib/sqlalchemy/util/deprecations.py @@ -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.