Fix a doc oversight, and revert 5876a8fd.

This commit is contained in:
florentx 2010-04-21 04:46:36 +08:00 committed by Armin Ronacher
parent 5876a8fd96
commit f014ce29a7
2 changed files with 3 additions and 2 deletions

View file

@ -270,6 +270,7 @@ def _get_package_path(name):
# figure out if simplejson escapes slashes. This behaviour was changed
# from one version to another without reason.
if not json_available or '\\/' not in json.dumps('/'):
def _tojson_filter(*args, **kwargs):
if __debug__:
_assert_have_json()