summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-11-28 06:38:44 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2017-11-28 06:38:44 -0800
commitc1d3948be90742560df6784e11706773c062c562 (patch)
treed69bab712ba76c7f86f602f26bc95fd51ddd93aa /lib
parent914ccbacb5a21bd1f7f0bbdc32b01d73bea6dd4e (diff)
downloadpsycopg2-c1d3948be90742560df6784e11706773c062c562.tar.gz
Update documentation to reflect JSON import behavior
The docs don't need to describe what will happen on Python versions before 2.6 as they are unsupported by psycopg2. Should have been included in commit d58844e5483483240f97537e9a77b4e79cea2ab3, but was missed.
Diffstat (limited to 'lib')
-rw-r--r--lib/_json.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/_json.py b/lib/_json.py
index cd2e7e1..30910eb 100644
--- a/lib/_json.py
+++ b/lib/_json.py
@@ -49,10 +49,8 @@ class Json(object):
:sql:`json` data type.
`!Json` can be used to wrap any object supported by the provided *dumps*
- function. If none is provided, the standard :py:func:`json.dumps()` is
- used (`!simplejson` for Python < 2.6;
- `~psycopg2.extensions.ISQLQuote.getquoted()` will raise `!ImportError` if
- the module is not available).
+ function. If none is provided, the standard :py:func:`json.dumps()` is
+ used.
"""
def __init__(self, adapted, dumps=None):