summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/source/intro.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/intro.rst b/docs/source/intro.rst
index 76d8fba..2a2d27d 100644
--- a/docs/source/intro.rst
+++ b/docs/source/intro.rst
@@ -100,10 +100,10 @@ Each object can be converted back to a string at any time:
.. code-block:: python
- >>> unicode(stmt) # str(stmt) for Python 3
- u'select * from "someschema"."mytable" where id = 1'
- >>> unicode(stmt.tokens[-1]) # or just the WHERE part
- u'where id = 1'
+ >>> str(stmt) # str(stmt) for Python 3
+ 'select * from "someschema"."mytable" where id = 1'
+ >>> str(stmt.tokens[-1]) # or just the WHERE part
+ 'where id = 1'
Details of the returned objects are described in :ref:`analyze`.