Fixed docstrings

This commit is contained in:
Frank Martinez
2025-09-27 07:27:22 -05:00
parent 39d15c011e
commit a3232103d5
2 changed files with 4 additions and 4 deletions

View File

@@ -49,14 +49,14 @@ class ApplicationDirectories(PyObjectBase):
@staticmethod
def versionStringForPath(major: int, minor: int, /) -> str:
"""
Given a major and minor version number.
Given a major and minor version number, return the name for a versioned subdirectory.
Args:
major: Major version number.
minor: Minor version number.
Returns:
a string that can be used as the name for a versioned subdirectory.
A string that can be used as the name for a versioned subdirectory.
Only returns the version string, not the full path.
"""
...
@@ -73,7 +73,7 @@ class ApplicationDirectories(PyObjectBase):
startingPath: The path to check.
Returns:
True for any path that the *current* version of FreeCAD would recognized as versioned,
True for any path that the *current* version of FreeCAD would recognize as versioned,
and False for either something that is not versioned, or something that is versioned
but for a later version of FreeCAD.
"""

View File

@@ -16,7 +16,7 @@ from Part.Geom2d import Curve2d
)
class Line2dSegment(Curve2d):
"""
Describes a line segment in 2D space.
Describes a line segment in 2D space.
To create a line there are several ways:
Part.Geom2d.Line2dSegment()