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_binary.c | |
parent | a1ed1fb26741e1e1479a7287ed2713b956d6030f (diff) | |
download | psycopg2-6b0b634baec7d3b9a20ed1b6b39ee6f1400cd341.tar.gz |
Code cleanup.
Diffstat (limited to 'psycopg/adapter_binary.c')
-rw-r--r-- | psycopg/adapter_binary.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/psycopg/adapter_binary.c b/psycopg/adapter_binary.c index 83656a9..48ab975 100644 --- a/psycopg/adapter_binary.c +++ b/psycopg/adapter_binary.c @@ -257,18 +257,18 @@ binary_del(PyObject* self) static PyObject * binary_repr(binaryObject *self) { - return PyString_FromFormat("<psycopg.Binary object at %p>", self); + return PyString_FromFormat("<psycopg2._psycopg.Binary object at %p>", self); } /* object type */ #define binaryType_doc \ -"psycopg.Binary(buffer) -> new binary object" +"Binary(buffer) -> new binary object" PyTypeObject binaryType = { PyObject_HEAD_INIT(NULL) 0, - "psycopg._psycopg.Binary", + "psycopg2._psycopg.Binary", sizeof(binaryObject), 0, binary_dealloc, /*tp_dealloc*/ |