Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d80b16d

Browse files
committed
Fix ReST role markup: :method: -> :meth:
1 parent 2306e60 commit d80b16d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/socket.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ manager protocol instead, open a socket with::
13501350
socket.socket(socket.AF_CAN, socket.SOCK_DGRAM, socket.CAN_BCM)
13511351

13521352
After binding (:const:`CAN_RAW`) or connecting (:const:`CAN_BCM`) the socket, you
1353-
can use the :method:`socket.send`, and the :method:`socket.recv` operations (and
1353+
can use the :meth:`socket.send`, and the :meth:`socket.recv` operations (and
13541354
their counterparts) on the socket object as usual.
13551355

13561356
This example might require special priviledge::

0 commit comments

Comments
 (0)