diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a15edaf..3ec113f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,8 +13,8 @@ Changelog **New features** -- User defined data types can now define how arrays with that dtype are constructed by implementing the :func:`make_array` function. -- User defined data types can now define how they are indexed (via `__getitem__`) by implementing the :func:`getitem` function. +- User defined data types can now define how arrays with that dtype are constructed by implementing the ``make_array`` function. +- User defined data types can now define how they are indexed (via ``__getitem__``) by implementing the ``getitem`` function. **Bug fixes** diff --git a/ndonnx/additional/_additional.py b/ndonnx/additional/_additional.py index b8fa841..48d7a43 100644 --- a/ndonnx/additional/_additional.py +++ b/ndonnx/additional/_additional.py @@ -152,7 +152,7 @@ def _getitem(x: Array, index: IndexType) -> ndx.Array: out = x.dtype._ops.getitem(x, index) if out is NotImplemented: raise ndx.UnsupportedOperationError( - f"`getitem` not implemented for `{x.dtype}`" + f"'getitem' not implemented for `{x.dtype}`" ) return out