Fix suspicious markup in the docs.

This commit is contained in:
Georg Brandl 2013-11-24 16:09:26 +01:00
parent 163d7f02a1
commit ed007d5b1b
7 changed files with 22 additions and 20 deletions

View file

@ -141,15 +141,8 @@ library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"
library/logging.handlers,,:port,host:port
library/mmap,,:i2,obj[i1:i2]
library/multiprocessing,,`,# Add more tasks using `put()`
library/multiprocessing,,`,# A test file for the `multiprocessing` package
library/multiprocessing,,`,# A test of `multiprocessing.Pool` class
library/multiprocessing,,`,# `BaseManager`.
library/multiprocessing,,`,# in the original order then consider using `Pool.map()` or
library/multiprocessing,,`,">>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`"
library/multiprocessing,,`,">>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`"
library/multiprocessing,,`,# Not sure if we should synchronize access to `socket.accept()` method by
library/multiprocessing,,`,# object. (We import `multiprocessing.reduction` to enable this pickling.)
library/multiprocessing,,`,# `Pool.imap()` (which will save on the amount of code needed anyway).
library/multiprocessing,,:queue,">>> QueueManager.register('get_queue', callable=lambda:queue)"
library/multiprocessing,,`,# register the Foo class; make `f()` and `g()` accessible via proxy
library/multiprocessing,,`,# register the Foo class; make `g()` and `_h()` accessible via proxy
@ -158,6 +151,10 @@ library/nntplib,,:bytes,:bytes
library/nntplib,,:lines,:lines
library/optparse,,:len,"del parser.rargs[:len(value)]"
library/os.path,,:foo,c:foo
library/pathlib,,:bar,">>> PureWindowsPath('c:/Windows', 'd:bar')"
library/pathlib,,:bar,PureWindowsPath('d:bar')
library/pathlib,,:Program,>>> PureWindowsPath('c:Program Files/').root
library/pathlib,,:Program,>>> PureWindowsPath('c:Program Files/').anchor
library/pdb,,:lineno,filename:lineno
library/pickle,,:memory,"conn = sqlite3.connect("":memory:"")"
library/posix,,`,"CFLAGS=""`getconf LFS_CFLAGS`"" OPT=""-g -O2 $CFLAGS"""
@ -200,7 +197,12 @@ library/tarfile,,:xz,'r:xz'
library/tarfile,,:xz,'w:xz'
library/time,,:mm,
library/time,,:ss,
library/tracemalloc,,:limit,"for index, stat in enumerate(top_stats[:limit], 1):"
library/turtle,,::,Example::
library/unittest,1412,:foo,"self.assertEqual(cm.output, ['INFO:foo:first message',"
library/unittest,1412,:first,"self.assertEqual(cm.output, ['INFO:foo:first message',"
library/unittest,1412,:foo,'ERROR:foo.bar:second message'])
library/unittest,1412,:second,'ERROR:foo.bar:second message'])
library/urllib.request,,:close,Connection:close
library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
library/urllib.request,,:password,"""joe:password@python.org"""

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
141 library/logging.handlers :port host:port
142 library/mmap :i2 obj[i1:i2]
143 library/multiprocessing ` # Add more tasks using `put()`
library/multiprocessing ` # A test file for the `multiprocessing` package
library/multiprocessing ` # A test of `multiprocessing.Pool` class
library/multiprocessing ` # `BaseManager`.
library/multiprocessing ` # in the original order then consider using `Pool.map()` or
144 library/multiprocessing ` >>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`
145 library/multiprocessing ` >>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`
library/multiprocessing ` # Not sure if we should synchronize access to `socket.accept()` method by
library/multiprocessing ` # object. (We import `multiprocessing.reduction` to enable this pickling.)
library/multiprocessing ` # `Pool.imap()` (which will save on the amount of code needed anyway).
146 library/multiprocessing :queue >>> QueueManager.register('get_queue', callable=lambda:queue)
147 library/multiprocessing ` # register the Foo class; make `f()` and `g()` accessible via proxy
148 library/multiprocessing ` # register the Foo class; make `g()` and `_h()` accessible via proxy
151 library/nntplib :lines :lines
152 library/optparse :len del parser.rargs[:len(value)]
153 library/os.path :foo c:foo
154 library/pathlib :bar >>> PureWindowsPath('c:/Windows', 'd:bar')
155 library/pathlib :bar PureWindowsPath('d:bar')
156 library/pathlib :Program >>> PureWindowsPath('c:Program Files/').root
157 library/pathlib :Program >>> PureWindowsPath('c:Program Files/').anchor
158 library/pdb :lineno filename:lineno
159 library/pickle :memory conn = sqlite3.connect(":memory:")
160 library/posix ` CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS"
197 library/tarfile :xz 'w:xz'
198 library/time :mm
199 library/time :ss
200 library/tracemalloc :limit for index, stat in enumerate(top_stats[:limit], 1):
201 library/turtle :: Example::
202 library/unittest 1412 :foo self.assertEqual(cm.output, ['INFO:foo:first message',
203 library/unittest 1412 :first self.assertEqual(cm.output, ['INFO:foo:first message',
204 library/unittest 1412 :foo 'ERROR:foo.bar:second message'])
205 library/unittest 1412 :second 'ERROR:foo.bar:second message'])
206 library/urllib.request :close Connection:close
207 library/urllib.request :lang xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n
208 library/urllib.request :password "joe:password@python.org"