File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class object "PyObject *" "&PyBaseObject_Type"
5656#ifdef Py_GIL_DISABLED
5757
5858// There's a global lock for mutation of types. This avoids having to take
59- // additonal locks while doing various subclass processing which may result
59+ // additional locks while doing various subclass processing which may result
6060// in odd behaviors w.r.t. running with the GIL as the outer type lock could
6161// be released and reacquired during a subclass update if there's contention
6262// on the subclass lock.
@@ -10395,7 +10395,7 @@ fixup_slot_dispatchers(PyTypeObject *type)
1039510395{
1039610396 // This lock isn't strictly necessary because the type has not been
1039710397 // exposed to anyone else yet, but update_ont_slot calls find_name_in_mro
10398- // where we'd like to assert that the tyep is locked.
10398+ // where we'd like to assert that the type is locked.
1039910399 BEGIN_TYPE_LOCK ()
1040010400
1040110401 assert (!PyErr_Occurred ());
You can’t perform that action at this time.
0 commit comments