##// END OF EJS Templates
Replace set comprehension for 2.6 compatibility
Thomas Kluyver -
Show More
@@ -44,9 +44,9 b' from IPython.utils.py3compat import cast_unicode'
44 # builtin docstrings to ignore
44 # builtin docstrings to ignore
45 _func_call_docstring = types.FunctionType.__call__.__doc__
45 _func_call_docstring = types.FunctionType.__call__.__doc__
46 _object_init_docstring = object.__init__.__doc__
46 _object_init_docstring = object.__init__.__doc__
47 _builtin_type_docstrings = {
47 _builtin_type_docstrings = set([
48 t.__doc__ for t in (types.ModuleType, types.MethodType, types.FunctionType)
48 t.__doc__ for t in (types.ModuleType, types.MethodType, types.FunctionType)
49 }
49 ])
50
50
51 #****************************************************************************
51 #****************************************************************************
52 # Builtin color schemes
52 # Builtin color schemes
General Comments 0
You need to be logged in to leave comments. Login now