[CXX] fix typos found the spell CI

This commit is contained in:
Uwe
2022-03-12 18:25:35 +01:00
parent c50f2e980c
commit 6964e86b4d
4 changed files with 7 additions and 7 deletions

View File

@@ -552,7 +552,7 @@ PYCXX_EXPORT int &_Py_VerboseFlag() { return Py_VerboseFlag; }
PYCXX_EXPORT const char *__Py_PackageContext() { return _Py_PackageContext; }
//
// Needed to keep the abstactions for delayload interface
// Needed to keep the abstractions for delayload interface
//
void _XINCREF( PyObject *op )
{

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

@@ -478,7 +478,7 @@ namespace Py
return Object(Py::_True());
}
// TMM: 31May'01 - Added the #ifndef so I can exlude iostreams.
// TMM: 31May'01 - Added the #ifndef so I can exclude iostreams.
#ifndef CXX_NO_IOSTREAMS
PYCXX_EXPORT std::ostream& operator<< (std::ostream& os, const Object& ob);
#endif
@@ -1420,7 +1420,7 @@ namespace Py
return SeqBase<T> (PySequence_Concat(ptr(), *other), true);
}
// more STL compatability
// more STL compatibility
const T front () const
{
return getItem(0);

View File

@@ -344,8 +344,8 @@ PythonType &PythonType::supportSequenceType()
sequence_table->sq_repeat = sequence_repeat_handler;
sequence_table->sq_item = sequence_item_handler;
sequence_table->sq_slice = sequence_slice_handler;
sequence_table->sq_ass_item = sequence_ass_item_handler; // BAS setup seperately?
sequence_table->sq_ass_slice = sequence_ass_slice_handler; // BAS setup seperately?
sequence_table->sq_ass_item = sequence_ass_item_handler; // BAS setup separately?
sequence_table->sq_ass_slice = sequence_ass_slice_handler; // BAS setup separately?
}
return *this;
}
@@ -359,7 +359,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;
}