]> 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)
committerGitHub <noreply@github.com>
Fri, 14 Oct 2022 17:53:49 +0000 (19:53 +0200)
document mentions `creating instances of "User" and "Address" objects` which is a mistake as we create instances or objects from classes.

doc/build/orm/quickstart.rst

index 039bf3d70393102158cb7c355b6c74ee5cc16d93..5528ce631e182b7c9367a4dbd5294a741249d753 100644 (file)
@@ -181,7 +181,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>`,