3
T'ícG ã @ sN d Z ddlZddlmZ G dd dejZdd Zdd Zd
d Zdd
Z dS )zÒ
sphinx.util.jsonimpl
~~~~~~~~~~~~~~~~~~~~
JSON serializer implementation wrapper.
:copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
é N)Ú
UserStringc s e Zd ZdZ fddZ ZS )ÚSphinxJSONEncoderz5JSONEncoder subclass that forces translation proxies.c s t |trt|S t j|S )N)Ú
isinstancer ÚstrÚsuperÚdefault)ÚselfÚobj)Ú __class__© ú_/tmp/pip-build-gk9425m9/sphinxcontrib-serializinghtml/sphinxcontrib/serializinghtml/jsonimpl.pyr s
zSphinxJSONEncoder.default)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r Ú
__classcell__r r )r