summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/exc.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2020-09-14 23:36:14 +0200
committerFederico Caselli <cfederico87@gmail.com>2020-09-15 22:12:22 +0200
commit43b486917bceb130419abdfbfafbd14a8cd503ca (patch)
tree6ade9c9aa0da09eadaf6b09875c819a953f56042 /lib/sqlalchemy/exc.py
parent8455a11bcc23e97afe666873cd872b0f204848d8 (diff)
downloadsqlalchemy-43b486917bceb130419abdfbfafbd14a8cd503ca.tar.gz
Make :class:`_orm.registry` ``bind`` a private parameter.
Explicitly deprecate ``bind`` from :func:`_orm.declarative_base` and :func:`_orm.as_declarative`. Some other documentation cleanup on declarative documentation. Change-Id: I3f7918d23833b2778ab7009ac5018841deb19f75
Diffstat (limited to 'lib/sqlalchemy/exc.py')
-rw-r--r--lib/sqlalchemy/exc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/exc.py b/lib/sqlalchemy/exc.py
index 1a38fc756..c2308a5cc 100644
--- a/lib/sqlalchemy/exc.py
+++ b/lib/sqlalchemy/exc.py
@@ -645,7 +645,7 @@ class RemovedIn20Warning(SADeprecationWarning):
class MovedIn20Warning(RemovedIn20Warning):
- """subtype of RemovedIn20Warning to indicate an API that moved only."""
+ """Subtype of RemovedIn20Warning to indicate an API that moved only."""
class SAPendingDeprecationWarning(PendingDeprecationWarning):