]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
should refer to Mapper class here
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Dec 2011 21:57:29 +0000 (16:57 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 9 Dec 2011 21:57:29 +0000 (16:57 -0500)
doc/build/orm/tutorial.rst

index 2a56b3013c38b266807e75a6180b2d084314a82a..6fa77d48f37828f9efb89f7a427ba90471486059 100644 (file)
@@ -168,7 +168,7 @@ table, known as a **mapped class**.   Declarative has provided for us a shorthan
 called a "Classical Mapping", which specifies these two units separately and is discussed
 in :ref:`classical_mapping`.   The table 
 is actually represented by a datastructure known as :class:`.Table`, and the mapping represented
-by a "mapper" object generated by a function called :func:`.mapper`.  Declarative performs both of 
+by a :class:`.Mapper` object generated by a function called :func:`.mapper`.  Declarative performs both of 
 these steps for us, making available the
 :class:`.Table` it has created via the ``__table__`` attribute::
 
@@ -179,7 +179,7 @@ these steps for us, making available the
                 Column('fullname', String(), table=<users>), 
                 Column('password', String(), table=<users>), schema=None)
 
-and while rarely needed, making available the :func:`.mapper` object via the ``__mapper__`` attribute::
+and while rarely needed, making available the :class:`.Mapper` object via the ``__mapper__`` attribute::
 
     >>> User.__mapper__ # doctest: +ELLIPSIS
     <Mapper at 0x...; User>