Thanks to visit codestin.com
Credit goes to github.com

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

+1-1
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)