diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-31 00:41:28 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2012-10-31 00:41:28 -0400 |
| commit | 5ccc8efa30bf94fd2df9771faf1e699b3d4150d3 (patch) | |
| tree | 64ec56ff80e2ecf2919e33251f3f697935a5ecdd /lib/sqlalchemy/engine | |
| parent | c1f677b04e9742ab2802071fbebcd78c81ced616 (diff) | |
| download | sqlalchemy-5ccc8efa30bf94fd2df9771faf1e699b3d4150d3.tar.gz | |
improve some autodoc links
Diffstat (limited to 'lib/sqlalchemy/engine')
| -rw-r--r-- | lib/sqlalchemy/engine/default.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/engine/interfaces.py | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/sqlalchemy/engine/default.py b/lib/sqlalchemy/engine/default.py index 1be7bc029..c536d1a4c 100644 --- a/lib/sqlalchemy/engine/default.py +++ b/lib/sqlalchemy/engine/default.py @@ -243,12 +243,12 @@ class DefaultDialect(interfaces.Dialect): return unicode_for_varchar def type_descriptor(self, typeobj): - """Provide a database-specific ``TypeEngine`` object, given + """Provide a database-specific :class:`.TypeEngine` object, given the generic object which comes from the types module. This method looks for a dictionary called ``colspecs`` as a class or instance-level variable, - and passes on to ``types.adapt_type()``. + and passes on to :func:`.types.adapt_type`. """ return sqltypes.adapt_type(typeobj, self.colspecs) diff --git a/lib/sqlalchemy/engine/interfaces.py b/lib/sqlalchemy/engine/interfaces.py index b1356489f..6d0b1cb61 100644 --- a/lib/sqlalchemy/engine/interfaces.py +++ b/lib/sqlalchemy/engine/interfaces.py @@ -43,10 +43,10 @@ class Dialect(object): 'utf-8'. statement_compiler - a :class:`~Compiled` class used to compile SQL statements + a :class:`.Compiled` class used to compile SQL statements ddl_compiler - a :class:`~Compiled` class used to compile DDL statements + a :class:`.Compiled` class used to compile DDL statements server_version_info a tuple containing a version number for the DB backend in use. @@ -163,8 +163,8 @@ class Dialect(object): """Transform a generic type to a dialect-specific type. Dialect classes will usually use the - :func:`~sqlalchemy.types.adapt_type` function in the types module to - make this job easy. + :func:`.types.adapt_type` function in the types module to + accomplish this. The returned result is cached *per dialect class* so can contain no dialect-instance state. @@ -244,7 +244,7 @@ class Dialect(object): Deprecated. This method is only called by the default - implementation of :meth:`get_pk_constraint()`. Dialects should + implementation of :meth:`.Dialect.get_pk_constraint`. Dialects should instead implement this method directly. """ |
