File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1145,7 +1145,7 @@ and :c:type:`PyType_Type` effectively act as defaults.)
11451145
11461146 .. data :: Py_TPFLAGS_MANAGED_DICT
11471147
1148- This bit indicates that instances of the class have a ``__dict___ ``
1148+ This bit indicates that instances of the class have a ``__dict__ ``
11491149 attribute, and that the space for the dictionary is managed by the VM.
11501150
11511151 If this flag is set, :const: `Py_TPFLAGS_HAVE_GC ` should also be set.
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ This is where using the ``if __name__ == '__main__'`` code block comes in
124124handy. Code within this block won't run unless the module is executed in the
125125top-level environment.
126126
127- Putting as few statements as possible in the block below ``if __name___ ==
127+ Putting as few statements as possible in the block below ``if __name__ ==
128128'__main__' `` can improve code clarity and correctness. Most often, a function
129129named ``main `` encapsulates the program's primary behavior::
130130
You can’t perform that action at this time.
0 commit comments