Skip to content

Commit ca72c19

Browse files
srittauAA-Turner
andauthored
Fix doc reference to decorator
Co-authored-by: Adam Turner <[email protected]>
1 parent 03aa3a2 commit ca72c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ Static Typing
11521152

11531153
The following protocols can be used for annotating function and method
11541154
arguments for simple stream reading or writing operations. They are decorated
1155-
with :func:`@typing.runtime_checkable <typing.runtime_checkable>`.
1155+
with :deco:`typing.runtime_checkable`.
11561156

11571157
.. class:: Reader[T]
11581158

0 commit comments

Comments
 (0)