Fix typos

Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller`
This commit is contained in:
luz.paz
2019-07-15 20:10:52 -04:00
committed by Yorik van Havre
parent a2fa902feb
commit ff1a7fd0a8
5 changed files with 8 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ namespace Part {
//
// Warnings:
// - The default constructor relies on the default constructor of T for initialisation. Built-in types
// so constructed will be uninitialised. Use the specific constructor from a T to initiliase it. Note
// so constructed will be uninitialised. Use the specific constructor from a T to initialise it. Note
// that the default constructor is required by the type system (see TYPESYSTEM_SOURCE_TEMPLATE_T).
//
// Default assumptions:
@@ -79,7 +79,7 @@ namespace Part {
//
// Instructions:
//
// 1. Read the assumptions above and provide template initilisation if needed.
// 1. Read the assumptions above and provide template initialisation if needed.
// 2. Add an alias to your type under these comments
// 3. Add a TYPESYSTEM_SOURCE_TEMPLATE_T in the cpp file to generate class type information
// 4. Provide a specialisation of getPyObject to generate a py object of the corresponding type (cpp file)

View File

@@ -269,7 +269,7 @@ PyObject* GeometryPy::getExtensionOfType(PyObject *args)
try {
std::shared_ptr<GeometryExtension> ext(this->getGeometryPtr()->getExtension(type));
// we create a copy and tranfer this copy's memory management responsibility to Python
// we create a copy and transfer this copy's memory management responsibility to Python
PyObject* cpy = static_cast<GeometryExtensionPy *>(ext->getPyObject())->copy(Py::new_reference_to(Py::Tuple(size_t(0))));
return cpy;
@@ -303,7 +303,7 @@ PyObject* GeometryPy::getExtensionOfName(PyObject *args)
try {
std::shared_ptr<GeometryExtension> ext(this->getGeometryPtr()->getExtension(std::string(o)));
// we create a copy and tranfer this copy's memory management responsibility to Python
// we create a copy and trasnfer this copy's memory management responsibility to Python
PyObject* cpy = static_cast<GeometryExtensionPy *>(ext->getPyObject())->copy(Py::new_reference_to(Py::Tuple(size_t(0))));
return cpy;