]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix instances of objects as instances of classes (#8627)
authorMuhammad Abdur Rakib <103581704+rifatrakib@users.noreply.github.com>
Fri, 14 Oct 2022 17:53:49 +0000 (23:53 +0600)
committerFederico Caselli <cfederico87@gmail.com>
Fri, 14 Oct 2022 18:06:38 +0000 (20:06 +0200)
document mentions `creating instances of "User" and "Address" objects` which is a mistake as we create instances or objects from classes.

(cherry picked from commit fe89ffe7563192a0b8f83b045f6e35fbed2a4a19)

doc/build/orm/quickstart.rst

index f1240e7bd8355289d096b7e137846f96587733b0..d766ef1d77b0474f15c069b44e2a6ec9af636761 100644 (file)
@@ -163,7 +163,7 @@ Create Objects and Persist
 ---------------------------
 
 We are now ready to insert data in the database.  We accomplish this by
-creating instances of ``User`` and ``Address`` objects, which have
+creating instances of ``User`` and ``Address`` classes, which have
 an ``__init__()`` method already as established automatically by the
 declarative mapping process.  We then pass them
 to the database using an object called a :ref:`Session <tutorial_executing_orm_session>`,