]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix documentation typos
authorFederico Caselli <cfederico87@gmail.com>
Fri, 16 Sep 2022 21:50:47 +0000 (23:50 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Fri, 16 Sep 2022 21:51:22 +0000 (23:51 +0200)
Closes #8527
Change-Id: I0354f3953075fa35a84b09ad45fd850d8889c992

doc/build/changelog/changelog_13.rst
doc/build/changelog/changelog_14.rst
doc/build/orm/composites.rst

index 00c67ea3bc887c37e8f22aaa7d6ae528370a049d..629387ff97b434fc82de267f92e93e95c5f2906b 100644 (file)
 
         Fixed bug where the :attr:`_orm.Mapper.all_orm_descriptors` accessor would
         return an entry for the :class:`_orm.Mapper` itself under the declarative
-        ``__mapper___`` key, when this is not a descriptor.  The ``.is_attribute``
+        ``__mapper__`` key, when this is not a descriptor.  The ``.is_attribute``
         flag that's present on all :class:`.InspectionAttr` objects is now
         consulted, which has also been modified to be ``True`` for an association
         proxy, as it was erroneously set to False for this object.
index 060d964a1488817f40c82fae3591a4fd41d9d826..5a267ebd0d42f67a20327648b85c24708e3a939f 100644 (file)
@@ -3175,7 +3175,7 @@ This document details individual issue-level changes made throughout
         ``@validates`` validator function or a ``@reconstructor`` reconstruction
         function, to check for "callable" more liberally such as to accommodate
         objects based on fundamental attributes like ``__func__`` and
-        ``__call___``, rather than testing for ``MethodType`` / ``FunctionType``,
+        ``__call__``, rather than testing for ``MethodType`` / ``FunctionType``,
         allowing things like cython functions to work properly. Pull request
         courtesy Miłosz Stypiński.
 
index 69fc93622b2a2e0dcd46bb65b2cae3a4b7df087f..181993db5c073286eb3fca4a5f7c39a3f43a16a8 100644 (file)
@@ -144,7 +144,7 @@ the same expression that the base "greater than" does::
 
 
     class Vertex(Base):
-        ___tablename__ = "vertices"
+        __tablename__ = "vertices"
 
         id = Column(Integer, primary_key=True)
         x1 = Column(Integer)