[3.11] Docs: fix dunders with too many underscores (#103955) (#103957)

This commit is contained in:
Erlend E. Aasland 2023-04-28 00:27:59 +02:00 committed by GitHub
parent 57d198ec83
commit 294398c102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@ This is where using the ``if __name__ == '__main__'`` code block comes in
handy. Code within this block won't run unless the module is executed in the
top-level environment.
Putting as few statements as possible in the block below ``if __name___ ==
Putting as few statements as possible in the block below ``if __name__ ==
'__main__'`` can improve code clarity and correctness. Most often, a function
named ``main`` encapsulates the program's primary behavior::