From a971c11d5038333f08821ef452ce1237a22cdb0e Mon Sep 17 00:00:00 2001 From: Nick Zandbergen Date: Thu, 1 Feb 2024 18:36:02 -0800 Subject: [PATCH] Update lobject_type.c Add bytes as accepted input for documentation --- psycopg/lobject_type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psycopg/lobject_type.c b/psycopg/lobject_type.c index 8376b3a4f..94cdafdf0 100644 --- a/psycopg/lobject_type.c +++ b/psycopg/lobject_type.c @@ -64,7 +64,7 @@ psyco_lobj_close(lobjectObject *self, PyObject *args) /* write method - write data to the lobject */ #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 * psyco_lobj_write(lobjectObject *self, PyObject *args)