diff options
Diffstat (limited to 'psycopg/microprotocols.c')
| -rw-r--r-- | psycopg/microprotocols.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/psycopg/microprotocols.c b/psycopg/microprotocols.c index 2173815..f48c0fb 100644 --- a/psycopg/microprotocols.c +++ b/psycopg/microprotocols.c @@ -134,11 +134,6 @@ microprotocols_adapt(PyObject *obj, PyObject *proto, PyObject *alt) /* we don't check for exact type conformance as specified in PEP 246 because the ISQLQuote type is abstract and there is no way to get a quotable object to be its instance */ - - /* None is always adapted to NULL */ - - if (obj == Py_None) - return Bytes_FromString("NULL"); Dprintf("microprotocols_adapt: trying to adapt %s", Py_TYPE(obj)->tp_name); |
