Skip to content

Commit de8245b

Browse files
committed
Align signature of rendered docuemntation for dpnp.frexp
1 parent 5e4da80 commit de8245b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

doc/conf.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
from sphinx.ext.autodoc import FunctionDocumenter
1212
from sphinx.ext.napoleon import NumpyDocstring, docstring
1313

14-
from dpnp.dpnp_algo.dpnp_elementwise_common import DPNPBinaryFunc, DPNPUnaryFunc
14+
from dpnp.dpnp_algo.dpnp_elementwise_common import (
15+
DPNPBinaryFunc,
16+
DPNPUnaryFunc,
17+
DPNPUnaryTwoOutputsFunc,
18+
)
1519

1620
try:
1721
import comparison_generator
@@ -206,7 +210,9 @@
206210

207211
# -- Options for todo extension ----------------------------------------------
208212
def _can_document_member(member, *args, **kwargs):
209-
if isinstance(member, (DPNPBinaryFunc, DPNPUnaryFunc)):
213+
if isinstance(
214+
member, (DPNPBinaryFunc, DPNPUnaryFunc, DPNPUnaryTwoOutputsFunc)
215+
):
210216
return True
211217
return orig(member, *args, **kwargs)
212218

dpnp/dpnp_iface_mathematical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,7 @@ def ediff1d(ary, to_end=None, to_begin=None):
23872387
See Also
23882388
--------
23892389
:obj:`dpnp.ldexp` : Compute :math:`y = x1 * 2^{x2}`, inverse to
2390-
:obj:`dpnp.frexp`.
2390+
:obj:`dpnp.frexp`.
23912391
23922392
Notes
23932393
-----

0 commit comments

Comments
 (0)