summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-03-16 04:39:08 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-03-16 04:40:22 +0000
commit1e0aef032f14045f91cc738824c1e578123718da (patch)
treeccbb817485d7c81fde9ea253e63bd8c76fea2734
parentf9b36433fb0103f0e98fe3d579103e0352667315 (diff)
downloadpsycopg2-1e0aef032f14045f91cc738824c1e578123718da.tar.gz
Dropped repeated doc links in the same paragraph
And some more sql docs cleanup.
-rw-r--r--lib/sql.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sql.py b/lib/sql.py
index d57fbe2..d89e117 100644
--- a/lib/sql.py
+++ b/lib/sql.py
@@ -85,11 +85,11 @@ class Composable(object):
class Composed(Composable):
"""
- A `Composable` object made of a sequence of `Composable`.
+ A `Composable` object made of a sequence of `!Composable`.
- The object is usually created using `Composable` operators and methods.
+ The object is usually created using `!Composable` operators and methods.
However it is possible to create a `!Composed` directly specifying a
- sequence of `Composable` as arguments.
+ sequence of `!Composable` as arguments.
Example::
@@ -291,9 +291,9 @@ class Identifier(Composable):
"""
A `Composable` representing an SQL identifer.
- Identifiers usually represent names of database objects, such as tables
- or fields. They follow `different rules`__ than SQL string literals for
- escaping (e.g. they use double quotes).
+ Identifiers usually represent names of database objects, such as tables or
+ fields. PostgreSQL identifiers follow `different rules`__ than SQL string
+ literals for escaping (e.g. they use double quotes instead of single).
.. __: https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html# \
SQL-SYNTAX-IDENTIFIERS