Skip to content

Commit 010f170

Browse files
committed
fix rtd
1 parent 860b83c commit 010f170

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/rules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ _`ASYNC124`: async-function-could-be-sync
103103
This excludes class methods as they often have to be async for other reasons, if you really do want to check those you could manually run :ref:`ASYNC910 <ASYNC910>` and/or :ref:`ASYNC911 <ASYNC911>` and check the methods they trigger on.
104104

105105
_`ASYNC125`: constant-absolute-deadline
106-
Passing constant values (other than :const:`math.inf`) to timeouts expecting absolute
106+
Passing constant values (other than :data:`math.inf`) to timeouts expecting absolute
107107
deadlines is nonsensical. These should always be defined relative to
108108
:func:`trio.current_time`/:func:`anyio.current_time`, or you might want to use
109109
:func:`trio.fail_after`/`:func:`trio.move_on_after`/:func:`anyio.fail_after`/

0 commit comments

Comments
 (0)