From b3475bdd7523a045b0317b24a14d90358d5483bf Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Sat, 25 May 2019 09:00:09 +0200 Subject: Minor documentation fixes. --- docs/source/index.rst | 2 +- docs/source/intro.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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 `_. 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 -- cgit v1.2.1