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

Skip to content

Commit cbddb92

Browse files
BasilBeiroutiagramfort
authored andcommitted
removed stray space in '__main__ ' (#8203)
1 parent ca687ba commit cbddb92

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