diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/index.rst | 2 | ||||
| -rw-r--r-- | docs/source/intro.rst | 2 |
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 |
