]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fixes argument number in docs
authorNoufal Ibrahim <noufal@nibrahim.net.in>
Tue, 11 Mar 2014 11:52:01 +0000 (17:22 +0530)
committerNoufal Ibrahim <noufal@nibrahim.net.in>
Tue, 11 Mar 2014 11:52:01 +0000 (17:22 +0530)
The selectable is the third argument to with_polymorphic.

doc/build/orm/inheritance.rst

index e6c1e378ba8474ad7198bf667a22108d7b6f1c92..9e30848bf81216c61572e0863658e69b6c2238b2 100644 (file)
@@ -227,7 +227,7 @@ subclasses:
     # use with Query
     session.query(entity).all()
 
-It also accepts a second argument ``selectable`` which replaces the automatic
+It also accepts a third argument ``selectable`` which replaces the automatic
 join creation and instead selects directly from the selectable given. This
 feature is normally used with "concrete" inheritance, described later, but can
 be used with any kind of inheritance setup in the case that specialized SQL