]> granicus.if.org Git - python/commitdiff
Fix ReST role markup: :method: -> :meth:
authorMark Dickinson <dickinsm@gmail.com>
Sun, 10 Feb 2013 18:43:16 +0000 (18:43 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sun, 10 Feb 2013 18:43:16 +0000 (18:43 +0000)
Doc/library/socket.rst

index 5a6bc1ddb83848cdb0b08cf0f00fb06bac5a8e3a..1797edd072f0aed3e4c21270aa1990dd516f0cc3 100644 (file)
@@ -1350,7 +1350,7 @@ manager protocol instead, open a socket with::
     socket.socket(socket.AF_CAN, socket.SOCK_DGRAM, socket.CAN_BCM)
 
 After binding (:const:`CAN_RAW`) or connecting (:const:`CAN_BCM`) the socket, you
-can use the :method:`socket.send`, and the :method:`socket.recv` operations (and
+can use the :meth:`socket.send`, and the :meth:`socket.recv` operations (and
 their counterparts) on the socket object as usual.
 
 This example might require special priviledge::