]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix a whole bunch of note:: / warning:: that were inline,
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 25 Dec 2011 22:34:24 +0000 (17:34 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 25 Dec 2011 22:34:24 +0000 (17:34 -0500)
no longer compatible with docutils 0.8

24 files changed:
doc/build/core/connections.rst
doc/build/core/engines.rst
doc/build/core/tutorial.rst
doc/build/intro.rst
doc/build/orm/collections.rst
doc/build/orm/inheritance.rst
doc/build/orm/mapper_config.rst
doc/build/orm/relationships.rst
doc/build/orm/session.rst
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/sqlite/pysqlite.py
lib/sqlalchemy/ext/declarative.py
lib/sqlalchemy/ext/mutable.py
lib/sqlalchemy/ext/orderinglist.py
lib/sqlalchemy/ext/sqlsoup.py
lib/sqlalchemy/interfaces.py
lib/sqlalchemy/orm/__init__.py
lib/sqlalchemy/orm/deprecated_interfaces.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/types.py
lib/sqlalchemy/util/langhelpers.py

index 15b87cbae0156631e9e3e570c7ff2946ccd63456..9f9a8f07d250deabe9c8e5a99ad2b42668d431e1 100644 (file)
@@ -105,7 +105,9 @@ in :ref:`sqlexpression_toplevel`.
 Using Transactions
 ==================
 
-.. note:: This section describes how to use transactions when working directly 
+.. note:: 
+
+  This section describes how to use transactions when working directly 
   with :class:`.Engine` and :class:`.Connection` objects. When using the
   SQLAlchemy ORM, the public API for transaction control is via the
   :class:`.Session` object, which makes usage of the :class:`.Transaction`
index bfcf92bad6fd79330dbe4b9c52928e86cc3df9c1..7e315c1a7422db5c81e72888a8ab7cf4e5a3883b 100644 (file)
@@ -228,8 +228,10 @@ connection pool, it follows that you should keep a single
 :class:`.Engine` per database established within an
 application, rather than creating a new one for each connection.
 
-.. note:: :class:`.QueuePool` is not used by default for SQLite engines.  See
- :ref:`sqlite_toplevel` for details on SQLite connection pool usage.
+.. note:: 
+
+   :class:`.QueuePool` is not used by default for SQLite engines.  See
+   :ref:`sqlite_toplevel` for details on SQLite connection pool usage.
 
 .. autoclass:: sqlalchemy.engine.url.URL
     :members:
@@ -323,13 +325,14 @@ string. To set this to a specific name, use the "logging_name" and
 "pool_logging_name" keyword arguments with :func:`sqlalchemy.create_engine`.
 
 .. note::
-    The SQLAlchemy :class:`.Engine` conserves Python function call overhead
-    by only emitting log statements when the current logging level is detected
-    as ``logging.INFO`` or ``logging.DEBUG``.  It only checks this level when 
-    a new connection is procured from the connection pool.  Therefore when 
-    changing the logging configuration for an already-running application, any
-    :class:`.Connection` that's currently active, or more commonly a
-    :class:`~.orm.session.Session` object that's active in a transaction, won't log any
-    SQL according to the new configuration until a new :class:`.Connection` 
-    is procured (in the case of :class:`~.orm.session.Session`, this is 
-    after the current transaction ends and a new one begins).
+
+   The SQLAlchemy :class:`.Engine` conserves Python function call overhead
+   by only emitting log statements when the current logging level is detected
+   as ``logging.INFO`` or ``logging.DEBUG``.  It only checks this level when 
+   a new connection is procured from the connection pool.  Therefore when 
+   changing the logging configuration for an already-running application, any
+   :class:`.Connection` that's currently active, or more commonly a
+   :class:`~.orm.session.Session` object that's active in a transaction, won't log any
+   SQL according to the new configuration until a new :class:`.Connection` 
+   is procured (in the case of :class:`~.orm.session.Session`, this is 
+   after the current transaction ends and a new one begins).
index c2dc92757425a723714d6cae380e2b45fdf42e38..49029e67ff5c617d16420a96be919d5f9f1a3f2a 100644 (file)
@@ -150,7 +150,9 @@ each table first before creating, so it's safe to call multiple times:
     ()
     COMMIT
 
-.. note:: Users familiar with the syntax of CREATE TABLE may notice that the
+.. note:: 
+
+    Users familiar with the syntax of CREATE TABLE may notice that the
     VARCHAR columns were generated without a length; on SQLite and Postgresql,
     this is a valid datatype, but on others, it's not allowed. So if running
     this tutorial on one of those databases, and you wish to use SQLAlchemy to
@@ -1511,7 +1513,9 @@ table, or the same table:
 Multiple Table Updates
 ----------------------
 
-.. note:: This feature is new as of version 0.7.4.
+.. note:: 
+
+   This feature is new as of version 0.7.4.
 
 The Postgresql, Microsoft SQL Server, and MySQL backends all support UPDATE statements
 that refer to multiple tables.   For PG and MSSQL, this is the "UPDATE FROM" syntax,
index 52180a91bbb41dae4ffa1d81d2e9061bbeb8b474..b5020b6ee3a10e1a930e480cc5f2bf0e89788236 100644 (file)
@@ -99,7 +99,9 @@ SQLAlchemy supports installation using standard Python "distutils" or
   rides on top of ``setuptools`` or ``distribute``, replacing the usage
   of ``easy_install``.  It is often preferred for its simpler mode of usage.
 
-.. note:: It is strongly recommended that either ``setuptools`` or ``distribute`` be installed.
+.. note:: 
+
+   It is strongly recommended that either ``setuptools`` or ``distribute`` be installed.
    Python's built-in ``distutils`` lacks many widely used installation features.
 
 Install via easy_install or pip
@@ -141,7 +143,9 @@ pass the flag ``--without-cextensions`` to the ``setup.py`` script::
 
     python setup.py --without-cextensions install
 
-.. note:: The ``--without-cextensions`` flag is available **only** if ``setuptools``
+.. note:: 
+
+   The ``--without-cextensions`` flag is available **only** if ``setuptools``
    or ``distribute`` is installed.  It is not available on a plain Python ``distutils``
    installation.  The library will still install without the C extensions if they
    cannot be built, however.
index 6491332f6b48688f7d061833c1525c7fe545051c..4e0d660917a72f995c26e4d2e0b2141545edb7bc 100644 (file)
@@ -79,7 +79,9 @@ function in conjunction with ``lazy='dynamic'``::
 
 Note that eager/lazy loading options cannot be used in conjunction dynamic relationships at this time.
 
-.. note:: The :func:`~.orm.dynamic_loader` function is essentially the same
+.. note:: 
+
+   The :func:`~.orm.dynamic_loader` function is essentially the same
    as :func:`~.orm.relationship` with the ``lazy='dynamic'`` argument specified.
 
 
index 8d73ceecab91cdb8b6e98844fb48f9c039121c6a..4713f3289087b6634aae974255c3bc02fd0ed560 100644 (file)
@@ -15,7 +15,9 @@ When mappers are configured in an inheritance relationship, SQLAlchemy has the
 ability to load elements "polymorphically", meaning that a single query can
 return objects of multiple types.
 
-.. note:: This section currently uses classical mappings to illustrate inheritance
+.. note:: 
+
+   This section currently uses classical mappings to illustrate inheritance
    configurations, and will soon be updated to standardize on Declarative.
    Until then, please refer to :ref:`declarative_inheritance` for information on
    how common inheritance mappings are constructed declaratively.
index 118b52f046acaee5b41a7f88c5526d8f2f331f61..407930ad0dd01f5554cab11c9871b7cc0fd24d36 100644 (file)
@@ -241,17 +241,19 @@ should be included or excluded::
             'primary_key' : [user_table.c.id]
         }
 
-.. note:: insert and update defaults configured on individual
-    :class:`.Column` objects, i.e. those described at :ref:`metadata_defaults`
-    including those configured by the ``default``, ``update``,
-    ``server_default`` and ``server_onupdate`` arguments, will continue to
-    function normally even if those :class:`.Column` objects are not mapped.
-    This is because in the case of ``default`` and ``update``, the
-    :class:`.Column` object is still present on the underlying
-    :class:`.Table`, thus allowing the default functions to take place when
-    the ORM emits an INSERT or UPDATE, and in the case of ``server_default``
-    and ``server_onupdate``, the relational database itself maintains these
-    functions.
+.. note:: 
+
+   insert and update defaults configured on individual
+   :class:`.Column` objects, i.e. those described at :ref:`metadata_defaults`
+   including those configured by the ``default``, ``update``,
+   ``server_default`` and ``server_onupdate`` arguments, will continue to
+   function normally even if those :class:`.Column` objects are not mapped.
+   This is because in the case of ``default`` and ``update``, the
+   :class:`.Column` object is still present on the underlying
+   :class:`.Table`, thus allowing the default functions to take place when
+   the ORM emits an INSERT or UPDATE, and in the case of ``server_default``
+   and ``server_onupdate``, the relational database itself maintains these
+   functions.
 
 
 .. _deferred:
index f4c43fbc5128070152e1d3330b4be77814b1eda0..6bfd01edd856f4ea10461af861725f7d11e2ccb6 100644 (file)
@@ -248,7 +248,9 @@ extension allows the configuration of attributes which will
 access two "hops" with a single access, one "hop" to the
 associated object, and a second to a target attribute.
 
-.. note:: When using the association object pattern, it is
+.. note::
+
+  When using the association object pattern, it is
   advisable that the association-mapped table not be used
   as the ``secondary`` argument on a :func:`.relationship`
   elsewhere, unless that :func:`.relationship` contains
index a41d514f2b8e05892cb06a44f7108ec20cdc1b84..1c1189507bbe3f30fc31f23a82550b6070c862fa 100644 (file)
@@ -705,7 +705,9 @@ is that a "transaction" is always present; this behavior can be disabled by
 setting ``autocommit=True``. In autocommit mode, a transaction can be
 initiated by calling the :func:`~sqlalchemy.orm.session.Session.begin` method.
 
-.. note:: The term "transaction" here refers to a transactional
+.. note:: 
+
+   The term "transaction" here refers to a transactional
    construct within the :class:`.Session` itself which may be
    maintaining zero or more actual database (DBAPI) transactions.  An individual
    DBAPI connection begins participation in the "transaction" as it is first
index 226180247368f95fbdd526e872bd46f7dbe89c2c..b7683581cfb6bfce54d95603a369edeec50b8ae4 100644 (file)
@@ -1252,7 +1252,9 @@ class MySQLCompiler(compiler.SQLCompiler):
     def get_select_precolumns(self, select):
         """Add special MySQL keywords in place of DISTINCT.
         
-        .. note:: this usage is deprecated.  :meth:`.Select.prefix_with`
+        .. note:: 
+        
+          this usage is deprecated.  :meth:`.Select.prefix_with`
           should be used for special keywords at the start
           of a SELECT.
           
index 673b86add23bec5b3593c058ce00495394591c88..ba6f61b40ab2844c49da6c6fd958054f3eb09c58 100644 (file)
@@ -342,7 +342,9 @@ class ARRAY(sqltypes.MutableType, sqltypes.Concatenable, sqltypes.TypeEngine):
           performance implications (default changed from ``True`` in 
           0.7.0).
 
-          .. note:: This functionality is now superseded by the
+          .. note:: 
+          
+             This functionality is now superseded by the
              ``sqlalchemy.ext.mutable`` extension described in 
              :ref:`mutable_toplevel`.
 
index 63832b8f37059154be00270c67f015327027ce87..7247168317ab51f0bd82352322060a5ff13c67a8 100644 (file)
@@ -118,10 +118,12 @@ SQLAlchemy sets up pooling to work with Pysqlite's default behavior:
   prevents a connection from being used again in a different thread and works
   best with SQLite's coarse-grained file locking.
 
-  .. note:: The default selection of :class:`.NullPool` for SQLite file-based databases 
-              is new in SQLAlchemy 0.7. Previous versions
-              select :class:`.SingletonThreadPool` by
-              default for all SQLite databases.
+  .. note:: 
+  
+     The default selection of :class:`.NullPool` for SQLite file-based databases 
+     is new in SQLAlchemy 0.7. Previous versions
+     select :class:`.SingletonThreadPool` by
+     default for all SQLite databases.
 
 Modern versions of SQLite no longer have the threading restrictions, and assuming
 the sqlite3/pysqlite library was built with SQLite's default threading mode
index ffbdfaae993b3f711913921addd0d721566eaa6e..91d770197c89729d1959f0312b7971e3658c66bb 100755 (executable)
@@ -1424,9 +1424,11 @@ class declared_attr(property):
     """Mark a class-level method as representing the definition of
     a mapped property or special declarative member name.
 
-    .. note:: @declared_attr is available as 
-      ``sqlalchemy.util.classproperty`` for SQLAlchemy versions
-      0.6.2, 0.6.3, 0.6.4.
+    .. note:: 
+    
+       @declared_attr is available as 
+       ``sqlalchemy.util.classproperty`` for SQLAlchemy versions
+       0.6.2, 0.6.3, 0.6.4.
 
     @declared_attr turns the attribute into a scalar-like
     property that can be invoked from the uninstantiated class.
index ece7e3ad48209f7417131d5d0c97c292d4f62763..8f14f51974a8baa4d35faa4d36332414458c7935 100644 (file)
@@ -448,7 +448,9 @@ class Mutable(MutableBase):
 
         This is a convenience method that calls ``associate_with_attribute`` automatically.
 
-        .. warning:: The listeners established by this method are *global*
+        .. warning:: 
+        
+           The listeners established by this method are *global*
            to all mappers, and are *not* garbage collected.   Only use 
            :meth:`.associate_with` for types that are permanent to an application,
            not with ad-hoc types else this will cause unbounded growth
@@ -488,7 +490,9 @@ class Mutable(MutableBase):
         of the particular :meth:`.Mutable` subclass to establish a global
         association.
 
-        .. warning:: The listeners established by this method are *global*
+        .. warning:: 
+        
+           The listeners established by this method are *global*
            to all mappers, and are *not* garbage collected.   Only use 
            :meth:`.as_mutable` for types that are permanent to an application,
            not with ad-hoc types else this will cause unbounded growth
@@ -519,7 +523,9 @@ class MutableComposite(MutableBase):
     
     See the example in :ref:`mutable_composites` for usage information.
     
-    .. warning:: The listeners established by the :class:`.MutableComposite`
+    .. warning:: 
+    
+       The listeners established by the :class:`.MutableComposite`
        class are *global* to all mappers, and are *not* garbage collected.   Only use 
        :class:`.MutableComposite` for types that are permanent to an application,
        not with ad-hoc types else this will cause unbounded growth
index ce63b88eaedfafb9e14c45f1e1f6b66bf791f012..ba505eb7b7d2f2b55d70a6d52b4ac8fb87c5c70d 100644 (file)
@@ -73,7 +73,9 @@ Use the ``ordering_list`` function to set up the ``collection_class`` on relatio
 (as in the mapper example above).  This implementation depends on the list
 starting in the proper order, so be SURE to put an order_by on your relationship.
 
-.. warning:: ``ordering_list`` only provides limited functionality when a primary
+.. warning:: 
+
+  ``ordering_list`` only provides limited functionality when a primary
   key column or unique column is the target of the sort.  Since changing the order of 
   entries often means that two rows must trade values, this is not possible when 
   the value is constrained by a primary key or unique constraint, since one of the rows
index fe2f74137367563db8e9b7e436d1bffc37d78d63..189aa1af1eea0ae318ccde7544870a1cd49c9619 100644 (file)
@@ -6,7 +6,9 @@
 
 """
 
-.. note:: SQLSoup will no longer be included with SQLAlchemy as of 0.8.
+.. note:: 
+
+   SQLSoup will no longer be included with SQLAlchemy as of 0.8.
    Look for a third party project replicating its functionality soon.
 
 
@@ -250,8 +252,10 @@ Advanced Use
 Sessions, Transations and Application Integration
 -------------------------------------------------
 
-**Note:** please read and understand this section thoroughly
-before using SqlSoup in any web application.
+.. note::
+
+   Please read and understand this section thoroughly
+   before using SqlSoup in any web application.
 
 SqlSoup uses a ScopedSession to provide thread-local sessions.
 You can get a reference to the current one like this::
index d1e3fa6b2a479ee4f9b608f3d0b912fad5c1abef..650a888999f973adbddc5d71f5513064199d9611 100644 (file)
@@ -17,7 +17,9 @@ from sqlalchemy import event, util
 class PoolListener(object):
     """Hooks into the lifecycle of connections in a :class:`.Pool`.
 
-    .. note:: :class:`.PoolListener` is deprecated.   Please
+    .. note:: 
+    
+       :class:`.PoolListener` is deprecated.   Please
        refer to :class:`.PoolEvents`.
 
     Usage::
@@ -149,7 +151,9 @@ class PoolListener(object):
 class ConnectionProxy(object):
     """Allows interception of statement execution by Connections.
 
-    .. note:: :class:`.ConnectionProxy` is deprecated.   Please
+    .. note:: 
+    
+       :class:`.ConnectionProxy` is deprecated.   Please
        refer to :class:`.ConnectionEvents`.
 
     Either or both of the ``execute()`` and ``cursor_execute()``
index 28d41dab239256355d12409b22d9bf755d2110fa..39f321aa6d29cef22d7c6b7efc05fb5bcf69a338 100644 (file)
@@ -180,7 +180,9 @@ def create_session(bind=None, **kwargs):
 def relationship(argument, secondary=None, **kwargs):
     """Provide a relationship of a primary Mapper to a secondary Mapper.
 
-    .. note:: :func:`relationship` is historically known as
+    .. note:: 
+    
+       :func:`relationship` is historically known as
        :func:`relation` prior to version 0.6.
 
     This corresponds to a parent-child or associative table relationship.  The
@@ -1117,7 +1119,9 @@ def synonym(name, map_column=False, descriptor=None,
                         comparator_factory=None, doc=None):
     """Denote an attribute name as a synonym to a mapped property.
 
-    .. note:: :func:`.synonym` is superseded as of 0.7 by 
+    .. note:: 
+    
+       :func:`.synonym` is superseded as of 0.7 by 
        the :mod:`~sqlalchemy.ext.hybrid` extension.  See 
        the documentation for hybrids at :ref:`hybrids_toplevel`.
 
@@ -1159,7 +1163,9 @@ def comparable_property(comparator_factory, descriptor=None):
     """Provides a method of applying a :class:`.PropComparator` 
     to any Python descriptor attribute.
 
-    .. note:: :func:`.comparable_property` is superseded as of 0.7 by 
+    .. note:: 
+    
+       :func:`.comparable_property` is superseded as of 0.7 by 
        the :mod:`~sqlalchemy.ext.hybrid` extension.  See the example 
        at :ref:`hybrid_custom_comparators`.
     
@@ -1261,10 +1267,12 @@ def joinedload(*keys, **kw):
     """Return a ``MapperOption`` that will convert the property of the given
     name or series of mapped attributes into an joined eager load.
 
-    .. note:: This function is known as :func:`eagerload` in all versions
-          of SQLAlchemy prior to version 0.6beta3, including the 0.5 and 0.4
-          series. :func:`eagerload` will remain available for the foreseeable
-          future in order to enable cross-compatibility.
+    .. note:: 
+    
+       This function is known as :func:`eagerload` in all versions
+       of SQLAlchemy prior to version 0.6beta3, including the 0.5 and 0.4
+       series. :func:`eagerload` will remain available for the foreseeable
+       future in order to enable cross-compatibility.
 
     Used with :meth:`~sqlalchemy.orm.query.Query.options`.
 
@@ -1286,7 +1294,9 @@ def joinedload(*keys, **kw):
 
         query(Order).options(joinedload(Order.user, innerjoin=True))
 
-    .. note:: The join created by :func:`joinedload` is anonymously aliased such that
+    .. note:: 
+    
+       The join created by :func:`joinedload` is anonymously aliased such that
        it **does not affect the query results**.   An :meth:`.Query.order_by`
        or :meth:`.Query.filter` call **cannot** reference these aliased
        tables - so-called "user space" joins are constructed using 
@@ -1314,10 +1324,12 @@ def joinedload_all(*keys, **kw):
     given dot-separated path or series of mapped attributes 
     into an joined eager load.
 
-    .. note:: This function is known as :func:`eagerload_all` in all versions
-        of SQLAlchemy prior to version 0.6beta3, including the 0.5 and 0.4
-        series. :func:`eagerload_all` will remain available for the
-        foreseeable future in order to enable cross-compatibility.
+    .. note:: 
+    
+       This function is known as :func:`eagerload_all` in all versions
+       of SQLAlchemy prior to version 0.6beta3, including the 0.5 and 0.4
+       series. :func:`eagerload_all` will remain available for the
+       foreseeable future in order to enable cross-compatibility.
 
     Used with :meth:`~sqlalchemy.orm.query.Query.options`.
 
index d5a9ab9c69f97c22240883ba8831ccebfb87f8bc..3d78ce7571d96fefc4ce3b985626f6fb1de31726 100644 (file)
@@ -11,7 +11,9 @@ from interfaces import EXT_CONTINUE
 class MapperExtension(object):
     """Base implementation for :class:`.Mapper` event hooks.
 
-    .. note:: :class:`.MapperExtension` is deprecated.   Please
+    .. note:: 
+       
+       :class:`.MapperExtension` is deprecated.   Please
        refer to :func:`.event.listen` as well as 
        :class:`.MapperEvents`.
 
@@ -375,7 +377,9 @@ class SessionExtension(object):
 
     """Base implementation for :class:`.Session` event hooks.
 
-    .. note:: :class:`.SessionExtension` is deprecated.   Please
+    .. note:: 
+    
+       :class:`.SessionExtension` is deprecated.   Please
        refer to :func:`.event.listen` as well as 
        :class:`.SessionEvents`.
 
@@ -493,7 +497,9 @@ class AttributeExtension(object):
     """Base implementation for :class:`.AttributeImpl` event hooks, events
     that fire upon attribute mutations in user code.
 
-    .. note:: :class:`.AttributeExtension` is deprecated.   Please
+    .. note:: 
+    
+       :class:`.AttributeExtension` is deprecated.   Please
        refer to :func:`.event.listen` as well as 
        :class:`.AttributeEvents`.
 
index 156c40b60de1cab1bc92e318506a6b2081a46021..8395540b1790916b057b3bc50a495611aee3e118 100644 (file)
@@ -1360,7 +1360,9 @@ class Query(object):
         
             q = session.query(User).join(Address, User.id==Address.user_id)
         
-        .. note:: In SQLAlchemy 0.6 and earlier, the two argument form of 
+        .. note:: 
+        
+           In SQLAlchemy 0.6 and earlier, the two argument form of 
            :meth:`~.Query.join` requires the usage of a tuple::
            
                query(User).join((Address, User.id==Address.user_id))
index 06dc8dcb422ded8a60df474f7d729eb8b50d1570..8f366b43d4ffae7ab21440674c37b04f6fd73835 100644 (file)
@@ -1653,7 +1653,9 @@ class Session(object):
         
             return session.is_modified(someobject, passive=True)
             
-        .. note:: In SQLAlchemy 0.7 and earlier, the ``passive`` 
+        .. note:: 
+          
+           In SQLAlchemy 0.7 and earlier, the ``passive`` 
            flag should **always** be explicitly set to ``True``. 
            The current default value of :data:`.attributes.PASSIVE_OFF`
            for this flag is incorrect, in that it loads unloaded
index c333bb63963a9dea2065e3e1fa61907a2f580273..268448bc3d4d843374c29b1e3c165b940bec13b9 100644 (file)
@@ -236,9 +236,11 @@ def select(columns=None, whereclause=None, from_obj=[], **kwargs):
       ``distinct`` is also available via the :meth:`~.Select.distinct`
       generative method.
 
-      .. note:: The ``distinct`` keyword's acceptance of a string
-        argument for usage with MySQL is deprecated.  Use
-        the ``prefixes`` argument or :meth:`~.Select.prefix_with`.
+      .. note:: 
+      
+         The ``distinct`` keyword's acceptance of a string
+         argument for usage with MySQL is deprecated.  Use
+         the ``prefixes`` argument or :meth:`~.Select.prefix_with`.
 
     :param for_update=False:
       when ``True``, applies ``FOR UPDATE`` to the end of the
@@ -4697,7 +4699,9 @@ class Select(_SelectBase):
         """Return a new :func:`.select` construct with its columns 
         clause replaced with the given columns.
         
-        .. note:: Due to a bug fix, this method has a slight 
+        .. note:: 
+        
+           Due to a bug fix, this method has a slight 
            behavioral change as of version 0.7.3.  
            Prior to version 0.7.3, the FROM clause of 
            a :func:`.select` was calculated upfront and as new columns
index 1ad1280f53a954d31d6cd7ba12453216b93aefb6..bad181f97b573e9a3988ad89b53d75e53464c527 100644 (file)
@@ -92,9 +92,11 @@ class TypeEngine(AbstractType):
         are serialized into strings are examples of "mutable" 
         column structures.
 
-        .. note:: This functionality is now superseded by the
-          ``sqlalchemy.ext.mutable`` extension described in 
-          :ref:`mutable_toplevel`.
+        .. note:: 
+        
+           This functionality is now superseded by the
+           ``sqlalchemy.ext.mutable`` extension described in 
+           :ref:`mutable_toplevel`.
 
         When this method is overridden, :meth:`copy_value` should
         also be supplied.   The :class:`.MutableType` mixin
@@ -712,9 +714,11 @@ class TypeDecorator(TypeEngine):
         are serialized into strings are examples of "mutable" 
         column structures.
 
-        .. note:: This functionality is now superseded by the
-          ``sqlalchemy.ext.mutable`` extension described in 
-          :ref:`mutable_toplevel`.
+        .. note:: 
+        
+           This functionality is now superseded by the
+           ``sqlalchemy.ext.mutable`` extension described in 
+           :ref:`mutable_toplevel`.
 
         """
         return self.impl.is_mutable()
@@ -782,7 +786,9 @@ class MutableType(object):
     a mutable Python object type.   This functionality is used
     only by the ORM.
 
-    .. note:: :class:`.MutableType` is superseded as of SQLAlchemy 0.7
+    .. note:: 
+    
+       :class:`.MutableType` is superseded as of SQLAlchemy 0.7
        by the ``sqlalchemy.ext.mutable`` extension described in
        :ref:`mutable_toplevel`.   This extension provides an event
        driven approach to in-place mutation detection that does not
@@ -810,7 +816,9 @@ class MutableType(object):
     type - implementing subclasses should override these
     appropriately.
 
-    .. warning:: The usage of mutable types has significant performance
+    .. warning:: 
+    
+        The usage of mutable types has significant performance
         implications when using the ORM. In order to detect changes, the
         ORM must create a copy of the value when it is first
         accessed, so that changes to the current value can be compared
@@ -1280,7 +1288,9 @@ class Numeric(_DateAffinity, TypeEngine):
     ``decimal.Decimal`` objects by default, applying
     conversion as needed.
 
-    .. note:: The `cdecimal <http://pypi.python.org/pypi/cdecimal/>`_ library
+    .. note:: 
+    
+       The `cdecimal <http://pypi.python.org/pypi/cdecimal/>`_ library
        is a high performing alternative to Python's built-in
        ``decimal.Decimal`` type, which performs very poorly in high volume
        situations. SQLAlchemy 0.7 is tested against ``cdecimal`` and supports
@@ -1936,7 +1946,9 @@ class PickleType(MutableType, TypeDecorator):
           behavior. (default changed from ``True`` in 
           0.7.0).
 
-          .. note:: This functionality is now superseded by the
+          .. note:: 
+          
+             This functionality is now superseded by the
              ``sqlalchemy.ext.mutable`` extension described in 
              :ref:`mutable_toplevel`.
 
index f10ab3fb59f2449b0e72bbaf9e4ea0ac2523d2ee..a755470171976079f831cae656483858b65eb51a 100644 (file)
@@ -860,7 +860,9 @@ def warn(msg, stacklevel=3):
     If msg is a string, :class:`.exc.SAWarning` is used as
     the category.
 
-    .. note:: This function is swapped out when the test suite
+    .. note:: 
+     
+       This function is swapped out when the test suite
        runs, with a compatible version that uses
        warnings.warn_explicit, so that the warnings registry can
        be controlled.