diff --git a/IPython/frontend/html/notebook/static/js/codecell.js b/IPython/frontend/html/notebook/static/js/codecell.js index 018a7b5..df8732f 100644 --- a/IPython/frontend/html/notebook/static/js/codecell.js +++ b/IPython/frontend/html/notebook/static/js/codecell.js @@ -156,6 +156,7 @@ var IPython = (function (IPython) { CodeCell.prototype.finish_tooltip = function (reply) { defstring=reply.definition; docstring=reply.docstring; + if(docstring == null){docstring="<empty docstring>"}; name=reply.name; var that = this;