spelling fix

This commit is contained in:
SpootDev 2016-07-15 22:17:34 -05:00 committed by Daniele Varrazzo
parent ab671146de
commit edd51aac25

View File

@ -73,7 +73,7 @@ Why does `!cursor.execute()` raise the exception *can't adapt*?
I can't pass an integer or a float parameter to my query: it says *a number is required*, but *it is* a number! I can't pass an integer or a float parameter to my query: it says *a number is required*, but *it is* a number!
In your query string, you always have to use ``%s`` placeholders, In your query string, you always have to use ``%s`` placeholders,
event when passing a number. All Python objects are converted by Psycopg even when passing a number. All Python objects are converted by Psycopg
in their SQL representation, so they get passed to the query as strings. in their SQL representation, so they get passed to the query as strings.
See :ref:`query-parameters`. :: See :ref:`query-parameters`. ::