We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3629a8d commit f300ca2Copy full SHA for f300ca2
1 file changed
fastcore/imports.py
@@ -84,7 +84,7 @@ def in_colab():
84
def in_jupyter():
85
"Check if the code is running in a jupyter notebook"
86
if not in_ipython(): return False
87
- return ipython_shell().__class__.__name__ == 'ZMQInteractiveShell'
+ return 'InteractiveShell' in ipython_shell().__class__.__name__
88
89
def in_notebook():
90
0 commit comments