Skip to content

Commit b62ed48

Browse files
committed
Use \text command in math
1 parent c5624b7 commit b62ed48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/dpnp_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def __add__(self, other):
123123
return dpnp.add(self, other)
124124

125125
def __and__(self, other):
126-
"""Return :math:`self&value`."""
126+
r"""Return :math:`\text{self} \& \text{value}`."""
127127
return dpnp.bitwise_and(self, other)
128128

129129
def __array__(self, dtype=None, /, *, copy=None):

0 commit comments

Comments
 (0)