Fix suspicious markup in the docs.

This commit is contained in:
Georg Brandl 2013-03-23 16:00:41 +01:00
parent 47f2542462
commit d50fe7216d
4 changed files with 10 additions and 5 deletions

View File

@ -351,7 +351,7 @@ When run, this will produce the following output:
Worker <Thread(worker 1, started 130283832797456)> running with argument 5
...
Consult the module's documentation for more details; the :class:`~queue.Queue``
Consult the module's documentation for more details; the :class:`~queue.Queue`
class provides a featureful interface.

View File

@ -1572,7 +1572,7 @@ UTF-8, then you need to do the following:
'ASCII section\ufeffUnicode section'
The Unicode code point ``'\feff```, when encoded using UTF-8, will be
The Unicode code point U+FEFF, when encoded using UTF-8, will be
encoded as a UTF-8 BOM -- the byte-string ``b'\xef\xbb\xbf'``.
#. Replace the ASCII section with whatever placeholders you like, but make sure

View File

@ -764,7 +764,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

@ -168,8 +168,9 @@ faq/programming,,:reduce,"print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x
faq/programming,,:reduce,"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,"
faq/programming,,:chr,">=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr("
faq/programming,,::,for x in sequence[::-1]:
faq/windows,229,:EOF,@setlocal enableextensions & python -x %~f0 %* & goto :EOF
faq/windows,393,:REG,.py :REG_SZ: c:\<path to python>\python.exe -u %s %s
faq/windows,,:bd8afb90ebf2,"Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32"
faq/windows,,:EOF,@setlocal enableextensions & python -x %~f0 %* & goto :EOF
faq/windows,,:REG,.py :REG_SZ: c:\<path to python>\python.exe -u %s %s
library/bisect,32,:hi,all(val >= x for val in a[i:hi])
library/bisect,42,:hi,all(val > x for val in a[i:hi])
library/http.client,52,:port,host:port
@ -273,3 +274,7 @@ library/pprint,209,::,"'Programming Language :: Python :: 2.6',"
library/pprint,209,::,"'Programming Language :: Python :: 2.7',"
library/pprint,209,::,"'Topic :: Software Development :: Libraries',"
library/pprint,209,::,"'Topic :: Software Development :: Libraries :: Python Modules'],"
library/http.client,,:port,host:port
library/http.cookies,,`,!#$%&'*+-.^_`|~
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})"

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
168 faq/programming :reduce Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,
169 faq/programming :chr >=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr(
170 faq/programming :: for x in sequence[::-1]:
171 faq/windows 229 :EOF :bd8afb90ebf2 @setlocal enableextensions & python -x %~f0 %* & goto :EOF Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32
172 faq/windows 393 :REG :EOF .py :REG_SZ: c:\<path to python>\python.exe -u %s %s @setlocal enableextensions & python -x %~f0 %* & goto :EOF
173 faq/windows :REG .py :REG_SZ: c:\<path to python>\python.exe -u %s %s
174 library/bisect 32 :hi all(val >= x for val in a[i:hi])
175 library/bisect 42 :hi all(val > x for val in a[i:hi])
176 library/http.client 52 :port host:port
274 library/pprint 209 :: 'Programming Language :: Python :: 2.7',
275 library/pprint 209 :: 'Topic :: Software Development :: Libraries',
276 library/pprint 209 :: 'Topic :: Software Development :: Libraries :: Python Modules'],
277 library/http.client :port host:port
278 library/http.cookies ` !#$%&'*+-.^_`|~
279 library/sqlite3 :who cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
280 library/sqlite3 :age cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})