File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class object "PyObject *" "&PyBaseObject_Type"
56
56
#ifdef Py_GIL_DISABLED
57
57
58
58
// 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
60
60
// in odd behaviors w.r.t. running with the GIL as the outer type lock could
61
61
// be released and reacquired during a subclass update if there's contention
62
62
// on the subclass lock.
@@ -10395,7 +10395,7 @@ fixup_slot_dispatchers(PyTypeObject *type)
10395
10395
{
10396
10396
// This lock isn't strictly necessary because the type has not been
10397
10397
// 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.
10399
10399
BEGIN_TYPE_LOCK ()
10400
10400
10401
10401
assert (!PyErr_Occurred ());
You can’t perform that action at this time.
0 commit comments