From 426fdbd502db4aabf956a7f79daace594cec985b Mon Sep 17 00:00:00 2001 From: Uwe Date: Sat, 12 Mar 2022 18:25:35 +0100 Subject: [PATCH] [CXX] fix typos found the spell CI --- src/CXX/IndirectPythonInterface.cxx | 2 +- src/CXX/Python2/ExtensionTypeBase.hxx | 2 +- src/CXX/Python2/Objects.hxx | 4 ++-- src/CXX/Python2/cxx_extensions.cxx | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/CXX/IndirectPythonInterface.cxx b/src/CXX/IndirectPythonInterface.cxx index 0147cfa3d9..f6931f422b 100644 --- a/src/CXX/IndirectPythonInterface.cxx +++ b/src/CXX/IndirectPythonInterface.cxx @@ -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 ) { diff --git a/src/CXX/Python2/ExtensionTypeBase.hxx b/src/CXX/Python2/ExtensionTypeBase.hxx index 7a6f65666d..67bec339f8 100644 --- a/src/CXX/Python2/ExtensionTypeBase.hxx +++ b/src/CXX/Python2/ExtensionTypeBase.hxx @@ -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 diff --git a/src/CXX/Python2/Objects.hxx b/src/CXX/Python2/Objects.hxx index 664205dd81..aed9c3abd5 100644 --- a/src/CXX/Python2/Objects.hxx +++ b/src/CXX/Python2/Objects.hxx @@ -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 (PySequence_Concat(ptr(), *other), true); } - // more STL compatability + // more STL compatibility const T front () const { return getItem(0); diff --git a/src/CXX/Python2/cxx_extensions.cxx b/src/CXX/Python2/cxx_extensions.cxx index 32737f1481..cfa9df73bc 100644 --- a/src/CXX/Python2/cxx_extensions.cxx +++ b/src/CXX/Python2/cxx_extensions.cxx @@ -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; }