summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/socket.rst4
-rw-r--r--Doc/library/sys.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 8cc5a7e..69fa378 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -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',))
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index da87be7..96450c5 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -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``.