We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b47d4 commit 9a49832Copy full SHA for 9a49832
domdf_python_tools/doctools.py
@@ -286,8 +286,8 @@ def wrapper(target: F) -> F:
286
base_int_docstrings = {
287
# "__bool__": "Return ``self != 0`.", # TODO
288
# __ceil__
289
- "__float__": "Return :func:`float(self) <float>`.", # __floor__
290
- "__int__": "Return :func:`int(self) <int>`.", # __round__
+ "__float__": "Return :class:`float(self) <float>`.", # __floor__
+ "__int__": "Return :class:`int(self) <int>`.", # __round__
291
}
292
293
new_return_types = {
0 commit comments