From: Mike Bayer Date: Fri, 4 Apr 2008 00:49:13 +0000 (+0000) Subject: - ReST fixes X-Git-Tag: rel_0_4_5~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d3ab4aaee987067ab5e7653128f54c28d624fca;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - ReST fixes - reverted strange jeklike symbol syntax --- diff --git a/lib/sqlalchemy/orm/__init__.py b/lib/sqlalchemy/orm/__init__.py index df6997f51a..a76f7127c5 100644 --- a/lib/sqlalchemy/orm/__init__.py +++ b/lib/sqlalchemy/orm/__init__.py @@ -551,7 +551,8 @@ def mapper(class_, local_table=None, *args, **params): UNION queries. select_table - Deprecated. Synonymous with ``with_polymorphic=('*', )`. + Deprecated. Synonymous with + ``with_polymorphic=('*', )``. version_id_col A ``Column`` which must have an integer type that will be diff --git a/lib/sqlalchemy/orm/mapper.py b/lib/sqlalchemy/orm/mapper.py index 22f5678d69..e391765c54 100644 --- a/lib/sqlalchemy/orm/mapper.py +++ b/lib/sqlalchemy/orm/mapper.py @@ -1293,7 +1293,7 @@ class Mapper(object): """Iterate each element and its mapper in an object graph, for all relations that meet the given cascade rule. - type_ + type\_ The name of the cascade rule (i.e. save-update, delete, etc.) diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py index ceabb39ebb..101ef1462c 100644 --- a/lib/sqlalchemy/util.py +++ b/lib/sqlalchemy/util.py @@ -1026,7 +1026,7 @@ class _symbol(object): def __reduce__(self): return symbol, (self.name,) def __repr__(self): - return "" % self.name + return "" % self.name _symbol.__name__ = 'symbol' class symbol(object):