Skip to content

Commit d41cf3d

Browse files
committed
prettier printing (optional)
The better printing mentioned in the first commit
1 parent a41c4e8 commit d41cf3d

File tree

1 file changed

+1
-1
lines changed
  • src/jupyter_contrib_nbextensions/nbextensions/varInspector

1 file changed

+1
-1
lines changed

src/jupyter_contrib_nbextensions/nbextensions/varInspector/var_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def _getshapeof(x):
3232
try:
3333
return x.shape
3434
except AttributeError: #x does not have a shape
35-
return None
35+
return ''
3636

3737
def var_dic_list():
3838
types_to_exclude = ['module', 'function', 'builtin_function_or_method',

0 commit comments

Comments
 (0)