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

Skip to content

Commit e8b59da

Browse files
committed
Issue #21920: Merge from 3.4.
2 parents a93342b + 5021cb5 commit e8b59da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/__main__.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ standard input, a script, or from an interactive prompt.
1212
A module can discover whether or not it is running in the main scope by
1313
checking its own ``__name__``, which allows a common idiom for conditionally
1414
executing code in a module when it is run as a script or with ``python
15-
-m`` but not when it is imported:
15+
-m`` but not when it is imported::
1616

1717
if __name__ == "__main__":
1818
# execute only if run as a script

0 commit comments

Comments
 (0)