diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2005-11-26 07:47:48 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2005-11-26 07:47:48 +0000 |
| commit | ad76b5ba3cc01b658e31fb3c4e94340ba0f884d9 (patch) | |
| tree | 0d6cb668b60959bb67b90508e9e1191e470fb6af /psycopg/microprotocols_proto.c | |
| parent | 62e4870b85627e005746aa5c50327dad801164d6 (diff) | |
| download | psycopg2-ad76b5ba3cc01b658e31fb3c4e94340ba0f884d9.tar.gz | |
* psycopg/psycopgmodule.c: fixed exceptions refcount.
* fixed lots of doctrings and added Epydoc-generated docs support.
Diffstat (limited to 'psycopg/microprotocols_proto.c')
| -rw-r--r-- | psycopg/microprotocols_proto.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/psycopg/microprotocols_proto.c b/psycopg/microprotocols_proto.c index a7934bb..72c3a7e 100644 --- a/psycopg/microprotocols_proto.c +++ b/psycopg/microprotocols_proto.c @@ -38,7 +38,7 @@ /* getquoted - return quoted representation for object */ #define psyco_isqlquote_getquoted_doc \ -"getquoted() -> return SQL-quoted representation of this object" +"getquoted() -- return SQL-quoted representation of this object" static PyObject * psyco_isqlquote_getquoted(isqlquoteObject *self, PyObject *args) @@ -52,7 +52,7 @@ psyco_isqlquote_getquoted(isqlquoteObject *self, PyObject *args) /* getbinary - return quoted representation for object */ #define psyco_isqlquote_getbinary_doc \ -"getbinary() -> return SQL-quoted binary representation of this object" +"getbinary() -- return SQL-quoted binary representation of this object" static PyObject * psyco_isqlquote_getbinary(isqlquoteObject *self, PyObject *args) @@ -66,7 +66,7 @@ psyco_isqlquote_getbinary(isqlquoteObject *self, PyObject *args) /* getbuffer - return quoted representation for object */ #define psyco_isqlquote_getbuffer_doc \ -"getbuffer() -> return this object" +"getbuffer() -- return this object" static PyObject * psyco_isqlquote_getbuffer(isqlquoteObject *self, PyObject *args) @@ -152,7 +152,9 @@ isqlquote_del(PyObject* self) /* object type */ #define isqlquoteType_doc \ -"Abstract ISQLQuote protocol" +"Abstract ISQLQuote protocol\n\n" \ +"An object conform to this protocol should expose a ``getquoted()`` method\n" \ +"returning the SQL representation of the object.\n\n" PyTypeObject isqlquoteType = { PyObject_HEAD_INIT(NULL) |
