Regenerated pydoc topics and minor doc fixes for 3.5.0a3.

This commit is contained in:
Larry Hastings 2015-03-29 15:32:55 -07:00
parent 07360df481
commit b2c2dc3643
3 changed files with 18 additions and 8 deletions

View File

@ -1834,9 +1834,9 @@ itself. This means, for example, that one shared object can contain a second:
>>> l = manager.list(range(10))
>>> l._callmethod('__len__')
10
>>> l._callmethod('__getitem__', (slice(2, 7),)) # equiv to `l[2:7]`
>>> l._callmethod('__getitem__', (slice(2, 7),)) # equivalent to l[2:7]
[2, 3, 4, 5, 6]
>>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`
>>> l._callmethod('__getitem__', (20,)) # equivalent to l[20]
Traceback (most recent call last):
...
IndexError: list index out of range

View File

@ -138,12 +138,9 @@ library/ipaddress,,:db00,2001:db00::0/ffff:ff00::
library/ipaddress,,::,2001:db00::0/ffff:ff00::
library/itertools,,:step,elements from seq[start:stop:step]
library/itertools,,:stop,elements from seq[start:stop:step]
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,,`,">>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`"
library/multiprocessing,,`,">>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`"
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
@ -181,8 +178,6 @@ library/ssl,,:MyState,State or Province Name (full name) [Some-State]:MyState
library/ssl,,:ops,Email Address []:ops@myserver.mygroup.myorganization.com
library/ssl,,:Some,"Locality Name (eg, city) []:Some City"
library/ssl,,:US,Country Name (2 letter code) [AU]:US
library/stdtypes,,::,>>> a[::-1].tolist()
library/stdtypes,,::,>>> a[::2].tolist()
library/stdtypes,,:end,s[start:end]
library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
library/stdtypes,,:len,s[len(s):len(s)]
@ -280,3 +275,18 @@ whatsnew/3.2,,:location,zope9-location = ${zope9:location}
whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf
whatsnew/changelog,,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't"
whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as"
library/stdtypes,3688,::,>>> m[::2].tolist()
library/tarfile,149,:xz,'x:xz'
library/xml.etree.elementtree,290,:sometag,prefix:sometag
library/xml.etree.elementtree,301,:fictional,"<actors xmlns:fictional=""http://characters.example.com"""
library/xml.etree.elementtree,301,:character,<fictional:character>Lancelot</fictional:character>
library/xml.etree.elementtree,301,:character,<fictional:character>Archie Leach</fictional:character>
library/xml.etree.elementtree,301,:character,<fictional:character>Sir Robin</fictional:character>
library/xml.etree.elementtree,301,:character,<fictional:character>Gunther</fictional:character>
library/xml.etree.elementtree,301,:character,<fictional:character>Commander Clement</fictional:character>
library/xml.etree.elementtree,332,:actor,"for actor in root.findall('real_person:actor', ns):"
library/xml.etree.elementtree,332,:name,"name = actor.find('real_person:name', ns)"
library/xml.etree.elementtree,332,:character,"for char in actor.findall('role:character', ns):"
library/zipapp,31,:main,"$ python -m zipapp myapp -m ""myapp:main"""
library/zipapp,82,:fn,"argument should have the form ""pkg.mod:fn"", where ""pkg.mod"" is a"
library/zipapp,155,:callable,"""pkg.module:callable"" and the archive will be run by importing"

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
138 library/ipaddress :: 2001:db00::0/ffff:ff00::
139 library/itertools :step elements from seq[start:stop:step]
140 library/itertools :stop elements from seq[start:stop:step]
library/linecache :sys sys:x:3:3:sys:/dev:/bin/sh
141 library/logging.handlers :port host:port
142 library/mmap :i2 obj[i1:i2]
143 library/multiprocessing ` # Add more tasks using `put()`
library/multiprocessing ` >>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`
library/multiprocessing ` >>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`
144 library/multiprocessing :queue >>> QueueManager.register('get_queue', callable=lambda:queue)
145 library/multiprocessing ` # register the Foo class; make `f()` and `g()` accessible via proxy
146 library/multiprocessing ` # register the Foo class; make `g()` and `_h()` accessible via proxy
178 library/ssl :ops Email Address []:ops@myserver.mygroup.myorganization.com
179 library/ssl :Some Locality Name (eg, city) []:Some City
180 library/ssl :US Country Name (2 letter code) [AU]:US
library/stdtypes :: >>> a[::-1].tolist()
library/stdtypes :: >>> a[::2].tolist()
181 library/stdtypes :end s[start:end]
182 library/stdtypes :: >>> hash(v[::-2]) == hash(b'abcefg'[::-2])
183 library/stdtypes :len s[len(s):len(s)]
275 whatsnew/3.2 :prefix zope-conf = ${custom:prefix}/etc/zope.conf
276 whatsnew/changelog :gz : TarFile opened with external fileobj and "w:gz" mode didn't
277 whatsnew/changelog :: : Use "127.0.0.1" or "::1" instead of "localhost" as much as
278 library/stdtypes 3688 :: >>> m[::2].tolist()
279 library/tarfile 149 :xz 'x:xz'
280 library/xml.etree.elementtree 290 :sometag prefix:sometag
281 library/xml.etree.elementtree 301 :fictional <actors xmlns:fictional="http://characters.example.com"
282 library/xml.etree.elementtree 301 :character <fictional:character>Lancelot</fictional:character>
283 library/xml.etree.elementtree 301 :character <fictional:character>Archie Leach</fictional:character>
284 library/xml.etree.elementtree 301 :character <fictional:character>Sir Robin</fictional:character>
285 library/xml.etree.elementtree 301 :character <fictional:character>Gunther</fictional:character>
286 library/xml.etree.elementtree 301 :character <fictional:character>Commander Clement</fictional:character>
287 library/xml.etree.elementtree 332 :actor for actor in root.findall('real_person:actor', ns):
288 library/xml.etree.elementtree 332 :name name = actor.find('real_person:name', ns)
289 library/xml.etree.elementtree 332 :character for char in actor.findall('role:character', ns):
290 library/zipapp 31 :main $ python -m zipapp myapp -m "myapp:main"
291 library/zipapp 82 :fn argument should have the form "pkg.mod:fn", where "pkg.mod" is a
292 library/zipapp 155 :callable "pkg.module:callable" and the archive will be run by importing

File diff suppressed because one or more lines are too long