diff options
| author | Vraj Mohan <r.vrajmohan@gmail.com> | 2013-11-14 10:42:35 -0500 |
|---|---|---|
| committer | Vraj Mohan <r.vrajmohan@gmail.com> | 2013-11-14 14:31:37 -0500 |
| commit | fc64812bad75fc5ecbfc95d715ed526994dc61ec (patch) | |
| tree | 6cfe784b155f44c250a7fb78ae6a9ba5d1cb99a1 /lib/sqlalchemy/orm/base.py | |
| parent | d55193ce49af701fc522e868599df4c26f185e2b (diff) | |
| download | sqlalchemy-fc64812bad75fc5ecbfc95d715ed526994dc61ec.tar.gz | |
Fix references to exceptions
Diffstat (limited to 'lib/sqlalchemy/orm/base.py')
| -rw-r--r-- | lib/sqlalchemy/orm/base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/base.py b/lib/sqlalchemy/orm/base.py index 7e56b0228..22c92b7c1 100644 --- a/lib/sqlalchemy/orm/base.py +++ b/lib/sqlalchemy/orm/base.py @@ -338,8 +338,8 @@ def class_mapper(class_, configure=True): """Given a class, return the primary :class:`.Mapper` associated with the key. - Raises :class:`.UnmappedClassError` if no mapping is configured - on the given class, or :class:`.ArgumentError` if a non-class + Raises :exc:`.UnmappedClassError` if no mapping is configured + on the given class, or :exc:`.ArgumentError` if a non-class object is passed. Equivalent functionality is available via the :func:`.inspect` |
