From 8b0bf578405567252f6e8aee6e147a24f54d5d4a Mon Sep 17 00:00:00 2001 From: Noufal Ibrahim Date: Tue, 11 Mar 2014 17:22:01 +0530 Subject: Fixes argument number in docs The selectable is the third argument to with_polymorphic. --- doc/build/orm/inheritance.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build/orm/inheritance.rst b/doc/build/orm/inheritance.rst index e6c1e378b..9e30848bf 100644 --- a/doc/build/orm/inheritance.rst +++ b/doc/build/orm/inheritance.rst @@ -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 -- cgit v1.2.1