mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01:16:34 +03:00
Docs typo fixed
This commit is contained in:
parent
b721421633
commit
08fa6550ab
|
@ -256,11 +256,11 @@ the SQL string that would be sent to the database.
|
||||||
single: memoryview; Adaptation
|
single: memoryview; Adaptation
|
||||||
single: Binary string
|
single: Binary string
|
||||||
|
|
||||||
- Binary types: Python types representing binary objects are converted in
|
- Binary types: Python types representing binary objects are converted into
|
||||||
PostgreSQL binary string syntax, suitable for :sql:`bytea` fields. Such
|
PostgreSQL binary string syntax, suitable for :sql:`bytea` fields. Such
|
||||||
types are `buffer` (only available in Python 2), `memoryview` (available
|
types are `buffer` (only available in Python 2), `memoryview` (available
|
||||||
from Python 2.7), `bytearray` (available from Python 2.6) and `bytes`
|
from Python 2.7), `bytearray` (available from Python 2.6) and `bytes`
|
||||||
(only form Python 3: the name is available from Python 2.6 but it's only an
|
(only from Python 3: the name is available from Python 2.6 but it's only an
|
||||||
alias for the type `!str`). Any object implementing the `Revised Buffer
|
alias for the type `!str`). Any object implementing the `Revised Buffer
|
||||||
Protocol`__ should be usable as binary type where the protocol is supported
|
Protocol`__ should be usable as binary type where the protocol is supported
|
||||||
(i.e. from Python 2.6). Received data is returned as `!buffer` (in Python 2)
|
(i.e. from Python 2.6). Received data is returned as `!buffer` (in Python 2)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user