summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVraj Mohan <r.vrajmohan@gmail.com>2013-11-14 10:10:59 -0500
committerVraj Mohan <r.vrajmohan@gmail.com>2013-11-14 14:31:37 -0500
commit24a46499308dad8bef072aa4f5052d054e769786 (patch)
treef6e06da81fafdbc32bc905d242672815c7e80c1b
parent868e81a3f92ca1668f17389de0bbe4f060e2afac (diff)
downloadsqlalchemy-24a46499308dad8bef072aa4f5052d054e769786.tar.gz
Fix cross reference
-rw-r--r--doc/build/core/event.rst2
-rw-r--r--lib/sqlalchemy/inspection.py6
-rw-r--r--lib/sqlalchemy/sql/elements.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/build/core/event.rst b/doc/build/core/event.rst
index d5111b0c0..1b873972a 100644
--- a/doc/build/core/event.rst
+++ b/doc/build/core/event.rst
@@ -75,7 +75,7 @@ as long as the names match up::
print("New DBAPI connection:", dbapi_connection)
print("Connection record:", kw['connection_record'])
-Above, the presence of ``**kw`` tells :func:`.event.listen_for` that
+Above, the presence of ``**kw`` tells :func:`.listens_for` that
arguments should be passed to the function by name, rather than positionally.
.. versionadded:: 0.9.0 Added optional ``named`` argument dispatch to
diff --git a/lib/sqlalchemy/inspection.py b/lib/sqlalchemy/inspection.py
index 42e08b30d..865ec4af6 100644
--- a/lib/sqlalchemy/inspection.py
+++ b/lib/sqlalchemy/inspection.py
@@ -39,11 +39,11 @@ def inspect(subject, raiseerr=True):
The returned value in some cases may be the
same object as the one given, such as if a
- :class:`.orm.Mapper` object is passed. In other
+ :class:`.Mapper` object is passed. In other
cases, it will be an instance of the registered
inspection type for the given object, such as
- if a :class:`.engine.Engine` is passed, an
- :class:`.engine.Inspector` object is returned.
+ if an :class:`.engine.Engine` is passed, an
+ :class:`.Inspector` object is returned.
:param subject: the subject to be inspected.
:param raiseerr: When ``True``, if the given subject
diff --git a/lib/sqlalchemy/sql/elements.py b/lib/sqlalchemy/sql/elements.py
index e9b995eaa..5058b90e0 100644
--- a/lib/sqlalchemy/sql/elements.py
+++ b/lib/sqlalchemy/sql/elements.py
@@ -361,7 +361,7 @@ class ClauseElement(Visitable):
as well as by :func:`.select` constructs when placed into
the FROM clause of another :func:`.select`. (Note that
subqueries should be normally created using the
- :func:`.Select.alias` method, as many platforms require
+ :meth:`.Select.alias` method, as many platforms require
nested SELECT statements to be named).
As expressions are composed together, the application of