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 57d198e commit 294398cCopy full SHA for 294398c
Doc/library/__main__.rst
@@ -124,7 +124,7 @@ This is where using the ``if __name__ == '__main__'`` code block comes in
124
handy. Code within this block won't run unless the module is executed in the
125
top-level environment.
126
127
-Putting as few statements as possible in the block below ``if __name___ ==
+Putting as few statements as possible in the block below ``if __name__ ==
128
'__main__'`` can improve code clarity and correctness. Most often, a function
129
named ``main`` encapsulates the program's primary behavior::
130
0 commit comments