summaryrefslogtreecommitdiff
path: root/psycopg/adapter_qstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/adapter_qstring.c')
-rw-r--r--psycopg/adapter_qstring.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/psycopg/adapter_qstring.c b/psycopg/adapter_qstring.c
index c5c7aa5..788d9c2 100644
--- a/psycopg/adapter_qstring.c
+++ b/psycopg/adapter_qstring.c
@@ -285,18 +285,19 @@ qstring_del(PyObject* self)
static PyObject *
qstring_repr(qstringObject *self)
{
- return PyString_FromFormat("<psycopg.QuotedString object at %p>", self);
+ return PyString_FromFormat("<psycopg2._psycopg.QuotedString object at %p>",
+ self);
}
/* object type */
#define qstringType_doc \
-"psycopg.QuotedString(str, enc) -> new quoted object with 'enc' encoding"
+"QuotedString(str, enc) -> new quoted object with 'enc' encoding"
PyTypeObject qstringType = {
PyObject_HEAD_INIT(NULL)
0,
- "psycopg._psycopg.QuotedString",
+ "psycopg2._psycopg.QuotedString",
sizeof(qstringObject),
0,
qstring_dealloc, /*tp_dealloc*/