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``.

View File

@ -112,9 +112,6 @@ library/turtle,,::,Example::
library/urllib,,:port,:port
library/urllib2,,:password,"""joe:password@python.org"""
library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678
library/xmlrpclib,,:pass,http://user:pass@host:port/path
library/xmlrpclib,,:pass,user:pass
library/xmlrpclib,,:port,http://user:pass@host:port/path
license,,`,THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
license,,:zooko,mailto:zooko@zooko.com
license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
@ -185,14 +182,13 @@ library/stdtypes,,:end,s[start:end]
library/urllib.request,,:close,Connection:close
library/urllib.request,,:password,"""joe:password@python.org"""
library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
library/xmlrpc.client,103,:pass,http://user:pass@host:port/path
library/xmlrpc.client,103,:port,http://user:pass@host:port/path
library/xmlrpc.client,103,:pass,user:pass
library/xmlrpc.client,,:pass,http://user:pass@host:port/path
library/xmlrpc.client,,:port,http://user:pass@host:port/path
library/xmlrpc.client,,:pass,user:pass
license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
license,,`,"``Software''), to deal in the Software without restriction, including"
license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
reference/lexical_analysis,704,`,$ ? `
whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"
whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0"
@ -295,3 +291,17 @@ packaging/tutorial,,::,2) License :: OSI Approved :: GNU Library or Lesser Gener
packaging/tutorial,,::,Type the number of the license you wish to use or ? to try again:: 1
packaging/tutorial,,::,classifier = Development Status :: 3 - Alpha
packaging/tutorial,,::,License :: OSI Approved :: GNU General Public License (GPL)
c-api/unicode,,:start,unicode[start:start+length]
library/smtplib,,:port,method must support that as well as a regular host:port
library/socket,,:len,fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])"
library/sqlite3,,:who,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
library/sqlite3,,:age,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
library/stdtypes,,::,>>> a[::2].tolist()
library/stdtypes,,::,>>> a[::-1].tolist()
library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
library/stdtypes,,::,>>> y = m[::2]
reference/lexical_analysis,,`,$ ? `
library/tarfile,,:xz,'r:xz'
library/tarfile,,:xz,'w:xz'
library/tarfile,,:xz,'a:xz'

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
112 library/urllib :port :port
113 library/urllib2 :password "joe:password@python.org"
114 library/uuid :uuid urn:uuid:12345678-1234-5678-1234-567812345678
library/xmlrpclib :pass http://user:pass@host:port/path
library/xmlrpclib :pass user:pass
library/xmlrpclib :port http://user:pass@host:port/path
115 license ` THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
116 license :zooko mailto:zooko@zooko.com
117 license ` THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
182 library/urllib.request :close Connection:close
183 library/urllib.request :password "joe:password@python.org"
184 library/urllib.request :lang xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n
185 library/xmlrpc.client 103 :pass http://user:pass@host:port/path
186 library/xmlrpc.client 103 :port http://user:pass@host:port/path
187 library/xmlrpc.client 103 :pass user:pass
188 license ` * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
189 license ` * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
190 license ` ``Software''), to deal in the Software without restriction, including
191 license ` THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
reference/lexical_analysis 704 ` $ ? `
192 whatsnew/2.7 735 :Sunday '2009:4:Sunday'
193 whatsnew/2.7 862 :: export PYTHONWARNINGS=all,error:::Cookie:0
194 whatsnew/2.7 862 :Cookie export PYTHONWARNINGS=all,error:::Cookie:0
291 packaging/tutorial :: Type the number of the license you wish to use or ? to try again:: 1
292 packaging/tutorial :: classifier = Development Status :: 3 - Alpha
293 packaging/tutorial :: License :: OSI Approved :: GNU General Public License (GPL)
294 c-api/unicode :start unicode[start:start+length]
295 library/smtplib :port method must support that as well as a regular host:port
296 library/socket :len fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
297 library/socket :can return (can_id, can_dlc, data[:can_dlc])
298 library/sqlite3 :who cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
299 library/sqlite3 :age cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
300 library/stdtypes :: >>> a[::2].tolist()
301 library/stdtypes :: >>> a[::-1].tolist()
302 library/stdtypes :: >>> hash(v[::-2]) == hash(b'abcefg'[::-2])
303 library/stdtypes :: >>> y = m[::2]
304 reference/lexical_analysis ` $ ? `
305 library/tarfile :xz 'r:xz'
306 library/tarfile :xz 'w:xz'
307 library/tarfile :xz 'a:xz'