Skip to content

Commit 943fc98

Browse files
committed
Improve Vector2Int.trunc() docstring
1 parent 2b30ebb commit 943fc98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nalpy/math/_c_extensions/vector2_int.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Vector2Int:
8383

8484
@staticmethod
8585
def trunc(v: Vector2) -> Vector2Int:
86-
"""Create a new `Vector2Int` by truncating the components of the given `Vector2`."""
86+
"""Create a new `Vector2Int` by truncating the components of the given `Vector2`. Truncating is equivalent to `int(float_value)`."""
8787
...
8888

8989
@staticmethod

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
]
1010
requires-python = ">=3.11"
1111
description = "An experimental portable package for different types of projects."
12-
version = "0.3.5"
12+
version = "0.3.6"
1313
dynamic = ["readme"]
1414

1515
[tool.setuptools.dynamic]

0 commit comments

Comments
 (0)