mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
[Bug #1618083] Add missing word; make a few grammar fixes
This commit is contained in:
parent
c3200b97d6
commit
4cd69d43e8
1 changed files with 4 additions and 4 deletions
|
@ -187,12 +187,12 @@ int, long, float, str (UTF-8 encoded), unicode or buffer.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{complete_statement}{sql}
|
\begin{funcdesc}{complete_statement}{sql}
|
||||||
Returns \constant{True} if the string \var{sql} one or more complete SQL
|
Returns \constant{True} if the string \var{sql} contains one or more complete SQL
|
||||||
statements terminated by semicolons. It does not verify if the SQL is
|
statements terminated by semicolons. It does not verify that the SQL is
|
||||||
syntactically correct, only if there are no unclosed string literals and if the
|
syntactically correct, only that there are no unclosed string literals and the
|
||||||
statement is terminated by a semicolon.
|
statement is terminated by a semicolon.
|
||||||
|
|
||||||
This can be used to build a shell for SQLite, like in the following example:
|
This can be used to build a shell for SQLite, as in the following example:
|
||||||
|
|
||||||
\verbatiminput{sqlite3/complete_statement.py}
|
\verbatiminput{sqlite3/complete_statement.py}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue