diff options
author | Federico Di Gregorio <fog@initd.org> | 2005-10-18 01:29:47 +0000 |
---|---|---|
committer | Federico Di Gregorio <fog@initd.org> | 2005-10-18 01:29:47 +0000 |
commit | 6b0b634baec7d3b9a20ed1b6b39ee6f1400cd341 (patch) | |
tree | 8ad28db0403f169fe52ef9b21bf0d98fea465abe /psycopg/adapter_qstring.c | |
parent | a1ed1fb26741e1e1479a7287ed2713b956d6030f (diff) | |
download | psycopg2-6b0b634baec7d3b9a20ed1b6b39ee6f1400cd341.tar.gz |
Code cleanup.
Diffstat (limited to 'psycopg/adapter_qstring.c')
-rw-r--r-- | psycopg/adapter_qstring.c | 7 |
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*/ |