Fix ReST role markup: :method: -> :meth:

This commit is contained in:
Mark Dickinson 2013-02-10 18:43:16 +00:00
parent 2306e6049b
commit d80b16dbd5

View 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::