Skip to content

Commit

Permalink
Fix Vector* mixin's docstring (#404)
Browse files Browse the repository at this point in the history
* Fix VectorNumpy's docstring

* Update object.py

* Update object.py

* Update awkward.py
  • Loading branch information
Saransh-cpp authored Dec 10, 2023
1 parent cc6d12e commit b8f1fab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/vector/backends/awkward.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def __getitem__(self, where: typing.Any) -> float | ak.Array | ak.Record | None:


class VectorAwkward:
"""One dimensional vector class for the Awkward backend."""
"""Mixin class for Awkward vectors."""

lib: types.ModuleType = numpy

Expand Down
2 changes: 1 addition & 1 deletion src/vector/backends/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ def tau(self) -> FloatArray:


class VectorNumpy(Vector, GetItem):
"""One dimensional vector class for the NumPy backend."""
"""Mixin class for NumPy vectors."""

lib = numpy
dtype: numpy.dtype[typing.Any]
Expand Down
2 changes: 1 addition & 1 deletion src/vector/backends/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def _replace_data(obj: typing.Any, result: typing.Any) -> typing.Any:


class VectorObject(Vector):
"""One dimensional vector class for the object backend."""
"""Mixin class for Object vectors."""

lib = numpy

Expand Down

0 comments on commit b8f1fab

Please sign in to comment.