summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2019-05-25 09:00:09 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2019-05-25 09:00:09 +0200
commitb3475bdd7523a045b0317b24a14d90358d5483bf (patch)
tree7cac4c0d70a9fda5cbf822930fa855dcc3b12bc0 /docs/source
parent7168e5ce67119d0c171be7dac36bd7d21f762589 (diff)
downloadsqlparse-b3475bdd7523a045b0317b24a14d90358d5483bf.tar.gz
Minor documentation fixes.
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/index.rst2
-rw-r--r--docs/source/intro.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 032318a..3c5956c 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -9,7 +9,7 @@ python-sqlparse
:mod:`sqlparse` is a non-validating SQL parser for Python.
It provides support for parsing, splitting and formatting SQL statements.
-The module is compatible with Python 2.7 and Python 3 (>= 3.3)
+The module is compatible with Python 2.7 and Python 3 (>= 3.4)
and released under the terms of the `New BSD license
<https://opensource.org/licenses/BSD-3-Clause>`_.
diff --git a/docs/source/intro.rst b/docs/source/intro.rst
index 1a9913b..78cbe34 100644
--- a/docs/source/intro.rst
+++ b/docs/source/intro.rst
@@ -48,7 +48,7 @@ SQL statements can be beautified by using the :meth:`~sqlparse.format` function.
.. code-block:: python
>>> sql = 'select * from foo where id in (select id from bar);'
- >>> print sqlparse.format(sql, reindent=True, keyword_case='upper')
+ >>> print(sqlparse.format(sql, reindent=True, keyword_case='upper'))
SELECT *
FROM foo
WHERE id IN