mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix invalid markup and update suspicious ignores.
This commit is contained in:
parent
0f25cea2c5
commit
a673eb895e
3 changed files with 20 additions and 10 deletions
|
@ -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',))
|
||||
|
||||
|
|
|
@ -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``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue