Skip to content

Commit 7045889

Browse files
committed
fix reference
1 parent 58350a4 commit 7045889

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/deprecations/pending-removal-in-3.17.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pending removal in Python 3.17
77

88
Use ``isinstance(obj, collections.abc.Buffer)`` to test if ``obj``
99
implements the :ref:`buffer protocol <bufferobjects>` at runtime. For use
10-
in type annotations, either use :class:`Buffer` or a union that explicitly
11-
specifies the types your code supports (e.g.,
10+
in type annotations, either use :class:`~collections.abc.Buffer` or a union
11+
that explicitly specifies the types your code supports (e.g.,
1212
``bytes | bytearray | memoryview``).
1313

1414
:class:`!ByteString` was originally intended to be an abstract class that

0 commit comments

Comments
 (0)