##// END OF EJS Templates
Renaming the special methods of the formatters....
Renaming the special methods of the formatters. The IPython formatters use special methods to compute the format of objects. These special methods have names like "__html__", but with this commit these have been changed to "_repr_html_". I have also added a Javascript formatter and fixed a bug in pylab tools in getfigs.

File last commit:

r3408:261328d5
r3878:43a27cb1
Show More
__init__.py
8 lines | 304 B | text/x-python | PythonLexer
try:
from decorator import *
from decorator import getinfo, new_wrapper
# the following funcion is deprecated so using the python own one
from functools import update_wrapper
except ImportError:
from _decorator import *
from _decorator import getinfo, update_wrapper, new_wrapper