##// END OF EJS Templates
Backport PR #2778: P3K: fix DeprecationWarning under Python 3.x...
Backport PR #2778: P3K: fix DeprecationWarning under Python 3.x The warning is: ``` .../site-packages/IPython/utils/jsonutil.py:121: DeprecationWarning: encodestring() is a deprecated alias, use encodebytes() encoded['image/png'] = encodestring(pngdata).decode('ascii') ```

File last commit:

r5390:c82649ea
r9856:9eb1365c
Show More
__init__.py
15 lines | 593 B | text/x-python | PythonLexer
# encoding: utf-8
""""""
__docformat__ = "restructuredtext en"
#-------------------------------------------------------------------------------
# Copyright (C) 2008-2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# Imports
#-------------------------------------------------------------------------------