]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Fix lonely dots in docstrings
authoraplatkouski <5857672+aplatkouski@users.noreply.github.com>
Sat, 13 Jun 2020 09:16:15 +0000 (12:16 +0300)
committeraplatkouski <5857672+aplatkouski@users.noreply.github.com>
Tue, 16 Jun 2020 18:26:56 +0000 (21:26 +0300)
Signed-off-by: aplatkouski <5857672+aplatkouski@users.noreply.github.com>
lib/sqlalchemy/dialects/postgresql/json.py
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/events.py
lib/sqlalchemy/engine/mock.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/visitors.py

index ea7b04d4f86d1cc964ff33811f25e943c9414600..255f1af21dd2f86d5a2ee69fa7a4bfa848b587f1 100644 (file)
@@ -234,8 +234,8 @@ class JSON(sqltypes.JSON):
 class JSONB(JSON):
     """Represent the PostgreSQL JSONB type.
 
-    The :class:`_postgresql.JSONB` type stores arbitrary JSONB format data, e.
-    g.::
+    The :class:`_postgresql.JSONB` type stores arbitrary JSONB format data,
+    e.g.::
 
         data_table = Table('data_table', metadata,
             Column('id', Integer, primary_key=True),
@@ -249,8 +249,8 @@ class JSONB(JSON):
             )
 
     The :class:`_postgresql.JSONB` type includes all operations provided by
-    :class:`_types.JSON`, including the same behaviors for indexing operations
-    .
+    :class:`_types.JSON`, including the same behaviors for indexing
+    operations.
     It also adds additional operators specific to JSONB, including
     :meth:`.JSONB.Comparator.has_key`, :meth:`.JSONB.Comparator.has_all`,
     :meth:`.JSONB.Comparator.has_any`, :meth:`.JSONB.Comparator.contains`,
index ffd3724625350fc2c9c167e4d46b02fb184ffcda..e7eec879624d66c8af2a2d2cc247808e76bc9a1a 100644 (file)
@@ -2510,8 +2510,8 @@ class Engine(Connectable, log.Identified):
         return "Engine(%r)" % self.url
 
     def dispose(self):
-        """Dispose of the connection pool used by this :class:`_engine.Engine`
-        .
+        """Dispose of the connection pool used by this
+        :class:`_engine.Engine`.
 
         This has the effect of fully closing all **currently checked in**
         database connections.  Connections that are still checked out
index ef760bb54d2beea10c2e5b9ce3e67f4cae4f0aa1..bd664fb8fb4f012d23f4b61944726a4d62c3f31b 100644 (file)
@@ -235,8 +235,8 @@ class ConnectionEvents(event.Events):
 
          .. versionadded: 1.4
 
-        :param result: :class:`_engine.CursorResult` generated by the execution
-                      .
+        :param result: :class:`_engine.CursorResult` generated by the
+         execution.
 
         """
 
index d6a542e19627f76f546a59ba790e1982387fbe1e..6c91d1434cb623d22dcf205c65316b3b541318e8 100644 (file)
@@ -92,8 +92,8 @@ def create_mock_engine(url, executor, **kw):
      string using :meth:`.DDLElement.compile`.
 
     .. versionadded:: 1.4 - the :func:`.create_mock_engine` function replaces
-       the previous "mock" engine strategy used with :func:`_sa.create_engine`
-       .
+       the previous "mock" engine strategy used with
+       :func:`_sa.create_engine`.
 
     .. seealso::
 
index 2a1a04d28b63176cf55739a9d5a57a8fd7ebc48e..bf162a001ff55067809849d19638a5576a6649c8 100644 (file)
@@ -645,8 +645,8 @@ class Query(
 
         .. note:: The :meth:`_query.Query.with_labels` method *only* applies
            the output of :attr:`_query.Query.statement`, and *not* to any of
-           the result-row invoking systems of :class:`_query.Query` itself, e.
-           g.
+           the result-row invoking systems of :class:`_query.Query` itself,
+           e.g.
            :meth:`_query.Query.first`, :meth:`_query.Query.all`, etc.
            To execute
            a query using :meth:`_query.Query.with_labels`, invoke the
index 2ffab673207684d011ea0776ddedc278567d3d0c..88a7620f1f5330245fe7f466ceccaa9a478c9987 100644 (file)
@@ -1674,8 +1674,8 @@ class Session(_SessionClassMethods):
 
     def bind_mapper(self, mapper, bind):
         """Associate a :class:`_orm.Mapper` or arbitrary Python class with a
-        "bind", e.g. an :class:`_engine.Engine` or :class:`_engine.Connection`
-        .
+        "bind", e.g. an :class:`_engine.Engine` or
+        :class:`_engine.Connection`.
 
         The given entity is added to a lookup used by the
         :meth:`.Session.get_bind` method.
index 3630b08af39c6c061775eaf837f2706ec3e24d72..a4a3f11128805c882502bacf30f52271aec7ea7d 100644 (file)
@@ -890,8 +890,8 @@ def aliased(element, alias=None, name=None, flat=False, adapt_on_names=False):
     ORM-mapped in this case.
 
     :param element: element to be aliased.  Is normally a mapped class,
-     but for convenience can also be a :class:`_expression.FromClause` element
-     .
+     but for convenience can also be a :class:`_expression.FromClause`
+     element.
 
     :param alias: Optional selectable unit to map the element to.  This is
      usually used to link the object to a subquery, and should be an aliased
index 4d1638b156d86aae85cdc4bd670a8c137df1cf4f..9ffde2c0ae7b4171e513b11ff1a8351118f80a55 100644 (file)
@@ -380,8 +380,8 @@ class InternalTraversal(util.with_metaclass(_InternalTraversalType, object)):
     """
 
     dp_table_hint_list = symbol("TH")
-    """Visit the ``_hints`` collection of a :class:`_expression.Select` object
-    .
+    """Visit the ``_hints`` collection of a :class:`_expression.Select` 
+    object.
 
     """