File tree 2 files changed +2
-2
lines changed
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.)
1145
1145
1146
1146
.. data :: Py_TPFLAGS_MANAGED_DICT
1147
1147
1148
- This bit indicates that instances of the class have a ``__dict___ ``
1148
+ This bit indicates that instances of the class have a ``__dict__ ``
1149
1149
attribute, and that the space for the dictionary is managed by the VM.
1150
1150
1151
1151
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
124
124
handy. Code within this block won't run unless the module is executed in the
125
125
top-level environment.
126
126
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__ ==
128
128
'__main__' `` can improve code clarity and correctness. Most often, a function
129
129
named ``main `` encapsulates the program's primary behavior::
130
130
You can’t perform that action at this time.
0 commit comments