summaryrefslogtreecommitdiff
path: root/lib/sql.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-01-01 09:23:09 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-01-01 09:23:26 +0100
commitd97399daa52feb63a90023ed93e5cef534438055 (patch)
tree9f173e5014a0f1f0a29701c20e19e15a87f4e420 /lib/sql.py
parentcf40bff2e2eef6f9224e46a20f34b7dbd301763a (diff)
downloadpsycopg2-d97399daa52feb63a90023ed93e5cef534438055.tar.gz
sql module docs wordsmithing
Diffstat (limited to 'lib/sql.py')
-rw-r--r--lib/sql.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sql.py b/lib/sql.py
index b465cbe..fc946b5 100644
--- a/lib/sql.py
+++ b/lib/sql.py
@@ -72,9 +72,9 @@ class Composed(Composable):
"""
A `Composable` object obtained concatenating a sequence of `Composable`.
- The object is usually created using `compose()` and the `Composable`
- operators. However it is possible to create a `!Composed` directly
- specifying a sequence of `Composable` as arguments.
+ The object is usually created using `Composable` operators. However it is
+ possible to create a `!Composed` directly specifying a sequence of
+ `Composable` as arguments.
Example::
@@ -230,7 +230,7 @@ class Identifier(Composable):
class Literal(Composable):
"""
- Represent an SQL value to be included in a query.
+ A `Composable` representing an SQL value to include in a query.
Usually you will want to include placeholders in the query and pass values
as `~cursor.execute()` arguments. If however you really really need to