From 5117c82d339fcbf17c96d7d4a39ed9c2988bc5c7 Mon Sep 17 00:00:00 2001 From: tritao Date: Fri, 7 Feb 2025 20:21:48 +0000 Subject: [PATCH] Base: Clean documentation for `PyObjectBase.h`. --- src/Base/PyObjectBase.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Base/PyObjectBase.h b/src/Base/PyObjectBase.h index c916703c93..18237d4604 100644 --- a/src/Base/PyObjectBase.h +++ b/src/Base/PyObjectBase.h @@ -163,18 +163,18 @@ namespace Base { -/** The PyObjectBase class, exports the class as a python type +/** The PyObjectBase class, exports the class as a Python type * PyObjectBase is the base class for all C++ classes which - * need to get exported into the python namespace. This class is + * need to get exported into the Python namespace. This class is * very important because nearly all important classes in FreeCAD - * are visible in python for macro recording and automation purpose. - * The class App::Document is a good expample for an exported class. + * are visible in Python for macro recording and automation purpose. + * The class App::Document is a good example for an exported class. * There are some convenience macros to make it easier to inherit - * from this class and defining new methods exported to python. + * from this class and defining new methods exported to Python. * PYFUNCDEF_D defines a new exported method. * PYFUNCIMP_D defines the implementation of the new exported method. * In the implementation you can use Py_Return, Py_Error, Py_Try and Py_Assert. - * PYMETHODEDEF makes the entry in the python method table. + * PYMETHODEDEF makes the entry in the Python method table. * @see Document * @see PYFUNCDEF_D * @see PYFUNCIMP_D