We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca687ba commit cbddb92Copy full SHA for cbddb92
examples/text/document_classification_20newsgroups.py
@@ -85,7 +85,7 @@
85
86
87
def is_interactive():
88
- return not hasattr(sys.modules['__main__ '], '__file__')
+ return not hasattr(sys.modules['__main__'], '__file__')
89
90
# work-around for Jupyter notebook and IPython console
91
argv = [] if is_interactive() else sys.argv[1:]
0 commit comments