mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-06-30 09:43:07 +03:00
Update lobject_type.c
Add bytes as accepted input for documentation
This commit is contained in:
parent
00870545b7
commit
a971c11d50
|
@ -64,7 +64,7 @@ psyco_lobj_close(lobjectObject *self, PyObject *args)
|
||||||
/* write method - write data to the lobject */
|
/* write method - write data to the lobject */
|
||||||
|
|
||||||
#define psyco_lobj_write_doc \
|
#define psyco_lobj_write_doc \
|
||||||
"write(str) -- Write a string to the large object."
|
"write(str | bytes) -- Write a string or bytes to the large object."
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
psyco_lobj_write(lobjectObject *self, PyObject *args)
|
psyco_lobj_write(lobjectObject *self, PyObject *args)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user