Fix typo · pythonnet/pythonnet@64a6909

Original file line numberDiff line numberDiff line change

@@ -225,7 +225,7 @@ internal static IntPtr CreateType(ManagedType impl, Type clrType)

225225

InitializeSlots(type, impl.GetType(), slotsHolder);

226226
227227

if (Marshal.ReadIntPtr(type, TypeOffset.mp_length) == IntPtr.Zero

228-

&& mp_length_slot.CanAssgin(clrType))

228+

&& mp_length_slot.CanAssign(clrType))

229229

{

230230

InitializeSlot(type, TypeOffset.mp_length, mp_length_slot.Method, slotsHolder);

231231

}