[CXX] fix typos found by the spellchecker CI

This commit is contained in:
Uwe
2022-03-12 02:19:48 +01:00
parent cd58a8336c
commit 045eafd062
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ namespace Py
{
// Class PythonExtension is what you inherit from to create
// a new Python extension type. You give your class itself
// as the template paramter.
// as the template parameter.
// There are two ways that extension objects can get destroyed.
// 1. Their reference count goes to zero

View File

@@ -295,7 +295,7 @@ PythonType &PythonType::supportSequenceType()
sequence_table->sq_repeat = sequence_repeat_handler;
sequence_table->sq_item = sequence_item_handler;
sequence_table->sq_ass_item = sequence_ass_item_handler; // BAS setup seperately?
sequence_table->sq_ass_item = sequence_ass_item_handler; // BAS setup separately?
// QQQ sq_inplace_concat
// QQQ sq_inplace_repeat
}
@@ -311,7 +311,7 @@ PythonType &PythonType::supportMappingType()
table->tp_as_mapping = mapping_table;
mapping_table->mp_length = mapping_length_handler;
mapping_table->mp_subscript = mapping_subscript_handler;
mapping_table->mp_ass_subscript = mapping_ass_subscript_handler; // BAS setup seperately?
mapping_table->mp_ass_subscript = mapping_ass_subscript_handler; // BAS setup separately?
}
return *this;
}