diff options
author | Georg Brandl <georg@python.org> | 2015-03-08 16:55:34 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2015-03-08 16:55:34 +0100 |
commit | d0efb42a4179f331dd67d4d301c81b2c01d8e386 (patch) | |
tree | 172f81f7d18e2e6fb28c0ead629e10a8443ec6ee /sphinx/util/jsonimpl.py | |
parent | 2a6b9d58088a186884884d8f30542df8963de075 (diff) | |
download | sphinx-git-d0efb42a4179f331dd67d4d301c81b2c01d8e386.tar.gz |
util: pep8 fixes
Diffstat (limited to 'sphinx/util/jsonimpl.py')
-rw-r--r-- | sphinx/util/jsonimpl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sphinx/util/jsonimpl.py b/sphinx/util/jsonimpl.py index 1d296b6b7..38e1b13cb 100644 --- a/sphinx/util/jsonimpl.py +++ b/sphinx/util/jsonimpl.py @@ -27,12 +27,15 @@ def dump(obj, fp, *args, **kwds): kwds['cls'] = SphinxJSONEncoder return json.dump(obj, fp, *args, **kwds) + def dumps(obj, *args, **kwds): kwds['cls'] = SphinxJSONEncoder return json.dumps(obj, *args, **kwds) + def load(*args, **kwds): return json.load(*args, **kwds) + def loads(*args, **kwds): return json.loads(*args, **kwds) |