@@ -141,15 +141,8 @@ library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"
141141library/logging.handlers ,, :port , host:port
142142library/mmap ,, :i2 , obj[i1:i2]
143143library/multiprocessing ,, ` , # Add more tasks using `put()`
144- library/multiprocessing ,, ` , # A test file for the `multiprocessing` package
145- library/multiprocessing ,, ` , # A test of `multiprocessing.Pool` class
146- library/multiprocessing ,, ` , # `BaseManager`.
147- library/multiprocessing ,, ` , # in the original order then consider using `Pool.map()` or
148144library/multiprocessing ,, ` , " >>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`"
149145library/multiprocessing ,, ` , " >>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`"
150- library/multiprocessing ,, ` , # Not sure if we should synchronize access to `socket.accept()` method by
151- library/multiprocessing ,, ` , # object. (We import `multiprocessing.reduction` to enable this pickling.)
152- library/multiprocessing ,, ` , # `Pool.imap()` (which will save on the amount of code needed anyway).
153146library/multiprocessing ,, :queue , " >>> QueueManager.register('get_queue', callable=lambda:queue)"
154147library/multiprocessing ,, ` , # register the Foo class; make `f()` and `g()` accessible via proxy
155148library/multiprocessing ,, ` , # register the Foo class; make `g()` and `_h()` accessible via proxy
@@ -158,6 +151,10 @@ library/nntplib,,:bytes,:bytes
158151library/nntplib ,, :lines , :lines
159152library/optparse ,, :len , " del parser.rargs[:len(value)]"
160153library/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
161158library/pdb ,, :lineno , filename:lineno
162159library/pickle ,, :memory , " conn = sqlite3.connect("" :memory:"" )"
163160library/posix ,, ` , " CFLAGS="" `getconf LFS_CFLAGS`"" OPT="" -g -O2 $CFLAGS"" "
@@ -200,7 +197,12 @@ library/tarfile,,:xz,'r:xz'
200197library/tarfile ,, :xz , 'w:xz'
201198library/time ,, :mm ,
202199library/time ,, :ss ,
200+ library/tracemalloc ,, :limit , " for index, stat in enumerate(top_stats[:limit], 1):"
203201library/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'])
204206library/urllib.request ,, :close , Connection:close
205207library/urllib.request ,, :lang , " xmlns="" http://www.w3.org/1999/xhtml"" xml:lang="" en"" lang="" en"" >\n\n<head>\n"
206208library/urllib.request ,, :password , " "" joe:[email protected] "" "
0 commit comments