Fix invalid markup and update suspicious ignores.

This commit is contained in:
Georg Brandl 2012-03-04 16:17:05 +01:00
parent 0f25cea2c5
commit a673eb895e
3 changed files with 20 additions and 10 deletions

View file

@ -1311,7 +1311,7 @@ network. This example might require special priviledge::
import struct
# CAN frame packing/unpacking (see `struct can_frame` in <linux/can.h>)
# CAN frame packing/unpacking (see 'struct can_frame' in <linux/can.h>)
can_frame_fmt = "=IB3x8s"
can_frame_size = struct.calcsize(can_frame_fmt)
@ -1326,7 +1326,7 @@ network. This example might require special priviledge::
return (can_id, can_dlc, data[:can_dlc])
# create a raw socket and bind it to the `vcan0` interface
# create a raw socket and bind it to the 'vcan0' interface
s = socket.socket(socket.AF_CAN, socket.SOCK_RAW, socket.CAN_RAW)
s.bind(('vcan0',))

View file

@ -770,7 +770,7 @@ always available.
independent Python files are installed; by default, this is the string
``'/usr/local'``. This can be set at build time with the ``--prefix``
argument to the :program:`configure` script. The main collection of Python
library modules is installed in the directory :file:`{prefix}/lib/python{X.Y}``
library modules is installed in the directory :file:`{prefix}/lib/python{X.Y}`
while the platform independent header files (all except :file:`pyconfig.h`) are
stored in :file:`{prefix}/include/python{X.Y}`, where *X.Y* is the version
number of Python, for example ``3.2``.