summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsk Solem <ask@rabbitmq.com>2011-12-06 11:34:01 +0000
committerAsk Solem <ask@rabbitmq.com>2011-12-06 11:34:01 +0000
commit994fdaf49b2ebbc985d69b4f24ed285816659da1 (patch)
tree392875c29820f7bc5ebb3a1526c750e6baa56f89
parent8953b3ced8f3e7d7ed0b0dd73a95fa0cce770200 (diff)
downloadanyjson-994fdaf49b2ebbc985d69b4f24ed285816659da1.tar.gz
Implementation.__str__ should be __repr__
-rw-r--r--anyjson/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/anyjson/__init__.py b/anyjson/__init__.py
index 053f1ed..6516249 100644
--- a/anyjson/__init__.py
+++ b/anyjson/__init__.py
@@ -77,7 +77,7 @@ class _JsonImplementation(object):
self.name = modinfo["modname"]
- def __str__(self):
+ def __repr__(self):
return "<_JsonImplementation instance using %s>" % self.name
def _attempt_load(self, modname):