8000 removed stray space in '__main__ ' (#8203) · paulha/scikit-learn@4d6347d · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit 4d6347d

Browse files
BasilBeiroutipaulha
authored andcommitted
removed stray space in '__main__ ' (scikit-learn#8203)
1 parent 8e9fa0c commit 4d6347d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/text/document_classification_20newsgroups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585

8686

8787
def is_interactive():
88-
return not hasattr(sys.modules['__main__ '], '__file__')
88+
return not hasattr(sys.modules['__main__'], '__file__')
8989

9090
# work-around for Jupyter notebook and IPython console
9191
argv = [] if is_interactive() else sys.argv[1:]

0 commit comments

Comments
 (0)
0