From: Taavi Burns Date: Sat, 26 Jan 2013 03:48:34 +0000 (-0500) Subject: Fixing a code block in the PostgreSQL base dialect docstring. X-Git-Tag: rel_0_8_0~27^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ca42e38b3cec03298844b6634b16363673bf825;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Fixing a code block in the PostgreSQL base dialect docstring. --- diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index d7cfc5b224..3de727e946 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -120,7 +120,7 @@ FROM ONLY ... The dialect supports PostgreSQL's ONLY keyword for targeting only a particular table in an inheritance hierarchy. This can be used to produce the ``SELECT ... FROM ONLY``, ``UPDATE ONLY ...``, and ``DELETE FROM ONLY ...`` -syntaxes. It uses SQLAlchemy's hints mechanism: +syntaxes. It uses SQLAlchemy's hints mechanism:: # SELECT ... FROM ONLY ... result = table.select().with_hint(table, 'ONLY', 'postgresql')