Skip to content

Commit abd2552

Browse files
zuopicnixz
andauthored
Apply suggestion from @picnixz - remove redundant links
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 38cf81a commit abd2552

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/inspect.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,8 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
643643
attributes varies. A :attr:`~definition.__name__` attribute is usually
644644
sensible, and :attr:`~definition.__doc__` often is.
645645

646-
Method descriptors that also pass any of the other tests (:func:`isclass`,
647-
:func:`ismethod` or :func:`isfunction`) make this function return ``False``,
646+
Method descriptors that also pass any of the other tests (:func:`!isclass`,
647+
:func:`!ismethod` or :func:`!isfunction`) make this function return ``False``,
648648
simply because those other tests promise more -- you can, e.g., count on
649649
having the :attr:`~method.__func__` attribute when an object passes
650650
:func:`ismethod`.

0 commit comments

Comments
 (0)