blob: ae358554e763b668c39b414023c6f5c237cbee6f [file] [log] [blame]
Benjamin Peterson28d88b42009-01-09 03:03:23 +00001c-api/arg,,:ref,"PyArg_ParseTuple(args, ""O|O:ref"", &object, &callback)"
2c-api/list,,:high,list[low:high]
3c-api/list,,:high,list[low:high] = itemlist
Georg Brandl0e475c32012-03-04 16:22:05 +01004c-api/sequence,,:i2,del o[i1:i2]
Benjamin Peterson28d88b42009-01-09 03:03:23 +00005c-api/sequence,,:i2,o[i1:i2]
6c-api/sequence,,:i2,o[i1:i2] = v
Benjamin Peterson28d88b42009-01-09 03:03:23 +00007c-api/unicode,,:end,str[start:end]
Georg Brandl0e475c32012-03-04 16:22:05 +01008c-api/unicode,,:start,unicode[start:start+length]
9distutils/examples,267,`,This is the description of the ``foobar`` package.
Benjamin Peterson28d88b42009-01-09 03:03:23 +000010distutils/setupscript,,::,
11extending/embedding,,:numargs,"if(!PyArg_ParseTuple(args, "":numargs""))"
Benjamin Peterson28d88b42009-01-09 03:03:23 +000012extending/extending,,:myfunction,"PyArg_ParseTuple(args, ""D:myfunction"", &c);"
Georg Brandl0e475c32012-03-04 16:22:05 +010013extending/extending,,:set,"if (PyArg_ParseTuple(args, ""O:set_callback"", &temp)) {"
Benjamin Peterson28d88b42009-01-09 03:03:23 +000014extending/newtypes,,:call,"if (!PyArg_ParseTuple(args, ""sss:call"", &arg1, &arg2, &arg3)) {"
15extending/windows,,:initspam,/export:initspam
Georg Brandl0e475c32012-03-04 16:22:05 +010016faq/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("
17faq/programming,,::,for x in sequence[::-1]:
18faq/programming,,:reduce,"print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,"
19faq/programming,,:reduce,"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,"
Ezio Melottie5caf292013-03-28 04:54:58 +020020faq/windows,,:bd8afb90ebf2,"Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32"
Georg Brandl0e475c32012-03-04 16:22:05 +010021faq/windows,229,:EOF,@setlocal enableextensions & python -x %~f0 %* & goto :EOF
22faq/windows,393,:REG,.py :REG_SZ: c:\<path to python>\python.exe -u %s %s
Benjamin Peterson28d88b42009-01-09 03:03:23 +000023howto/cporting,,:add,"if (!PyArg_ParseTuple(args, ""ii:add_ints"", &one, &two))"
24howto/cporting,,:encode,"if (!PyArg_ParseTuple(args, ""O:encode_object"", &myobj))"
25howto/cporting,,:say,"if (!PyArg_ParseTuple(args, ""U:say_hello"", &name))"
26howto/curses,,:black,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
27howto/curses,,:blue,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
28howto/curses,,:cyan,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
29howto/curses,,:green,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
30howto/curses,,:magenta,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
31howto/curses,,:red,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
32howto/curses,,:white,"7:white."
33howto/curses,,:yellow,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
Georg Brandl3539afd2012-05-30 22:03:20 +020034howto/ipaddress,,:DB8,>>> ipaddress.ip_address('2001:DB8::1')
35howto/ipaddress,,::,>>> ipaddress.ip_address('2001:DB8::1')
36howto/ipaddress,,:db8,IPv6Address('2001:db8::1')
37howto/ipaddress,,::,IPv6Address('2001:db8::1')
38howto/ipaddress,,:db8,IPv6Address('2001:db8::1')
39howto/ipaddress,,::,IPv6Address('2001:db8::1')
40howto/ipaddress,,::,IPv6Address('::1')
41howto/ipaddress,,:db8,>>> ipaddress.ip_network('2001:db8::0/96')
42howto/ipaddress,,::,>>> ipaddress.ip_network('2001:db8::0/96')
43howto/ipaddress,,:db8,IPv6Network('2001:db8::/96')
44howto/ipaddress,,::,IPv6Network('2001:db8::/96')
45howto/ipaddress,,:db8,IPv6Network('2001:db8::/128')
46howto/ipaddress,,::,IPv6Network('2001:db8::/128')
47howto/ipaddress,,:db8,>>> ipaddress.ip_network('2001:db8::1/96')
48howto/ipaddress,,::,>>> ipaddress.ip_network('2001:db8::1/96')
49howto/ipaddress,,:db8,IPv6Interface('2001:db8::1/96')
50howto/ipaddress,,::,IPv6Interface('2001:db8::1/96')
51howto/ipaddress,,:db8,>>> addr6 = ipaddress.ip_address('2001:db8::1')
52howto/ipaddress,,::,>>> addr6 = ipaddress.ip_address('2001:db8::1')
53howto/ipaddress,,:db8,>>> host6 = ipaddress.ip_interface('2001:db8::1/96')
54howto/ipaddress,,::,>>> host6 = ipaddress.ip_interface('2001:db8::1/96')
55howto/ipaddress,,:db8,IPv6Network('2001:db8::/96')
56howto/ipaddress,,::,IPv6Network('2001:db8::/96')
57howto/ipaddress,,:db8,>>> net6 = ipaddress.ip_network('2001:db8::0/96')
58howto/ipaddress,,::,>>> net6 = ipaddress.ip_network('2001:db8::0/96')
59howto/ipaddress,,:db8,>>> net6 = ipaddress.ip_network('2001:db8::0/96')
60howto/ipaddress,,::,>>> net6 = ipaddress.ip_network('2001:db8::0/96')
61howto/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
62howto/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
63howto/ipaddress,,::,IPv6Address('::ffff:ffff')
64howto/ipaddress,,:ffff,IPv6Address('::ffff:ffff')
65howto/ipaddress,,::,IPv6Address('2001::1')
66howto/ipaddress,,::,IPv6Address('2001::ffff:ffff')
67howto/ipaddress,,:ffff,IPv6Address('2001::ffff:ffff')
Georg Brandla81b4812012-08-11 08:43:59 +020068howto/ipaddress,,:db8,'2001:db8::'
69howto/ipaddress,,::,'2001:db8::'
70howto/ipaddress,,:db8,'2001:db8::/96'
71howto/ipaddress,,::,'2001:db8::/96'
Ezio Melottie5caf292013-03-28 04:54:58 +020072howto/ipaddress,,:db8,>>> ipaddress.ip_interface('2001:db8::1/96')
73howto/ipaddress,,::,>>> ipaddress.ip_interface('2001:db8::1/96')
74howto/ipaddress,,:db8,'2001:db8::1'
75howto/ipaddress,,::,'2001:db8::1'
76howto/ipaddress,,:db8,IPv6Address('2001:db8::ffff:ffff')
77howto/ipaddress,,::,IPv6Address('2001:db8::ffff:ffff')
78howto/ipaddress,,:ffff,IPv6Address('2001:db8::ffff:ffff')
Georg Brandl0e475c32012-03-04 16:22:05 +010079howto/logging,,:And,"WARNING:And this, too"
80howto/logging,,:And,"WARNING:root:And this, too"
81howto/logging,,:Doing,INFO:root:Doing something
82howto/logging,,:Finished,INFO:root:Finished
83howto/logging,,:logger,severity:logger name:message
84howto/logging,,:Look,WARNING:root:Look before you leap!
85howto/logging,,:message,severity:logger name:message
86howto/logging,,:root,DEBUG:root:This message should go to the log file
87howto/logging,,:root,INFO:root:Doing something
88howto/logging,,:root,INFO:root:Finished
89howto/logging,,:root,INFO:root:So should this
90howto/logging,,:root,INFO:root:Started
91howto/logging,,:root,"WARNING:root:And this, too"
92howto/logging,,:root,WARNING:root:Look before you leap!
93howto/logging,,:root,WARNING:root:Watch out!
94howto/logging,,:So,INFO:root:So should this
95howto/logging,,:So,INFO:So should this
96howto/logging,,:Started,INFO:root:Started
97howto/logging,,:This,DEBUG:root:This message should go to the log file
98howto/logging,,:This,DEBUG:This message should appear on the console
99howto/logging,,:Watch,WARNING:root:Watch out!
100howto/pyporting,75,::,# make sure to use :: Python *and* :: Python :: 3 so
101howto/pyporting,75,::,"'Programming Language :: Python',"
102howto/pyporting,75,::,'Programming Language :: Python :: 3'
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000103howto/regex,,::,
104howto/regex,,:foo,(?:foo)
105howto/urllib2,,:example,"for example ""joe@password:example.com"""
106howto/webservers,,.. image:,.. image:: http.png
107library/audioop,,:ipos,"# factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)],"
Georg Brandl0e475c32012-03-04 16:22:05 +0100108library/bisect,32,:hi,all(val >= x for val in a[i:hi])
109library/bisect,42,:hi,all(val > x for val in a[i:hi])
Ezio Melottie5caf292013-03-28 04:54:58 +0200110library/concurrent.futures,,:url,"future_to_url = {executor.submit(load_url, url, 60):url for url in URLS}"
Georg Brandl0e475c32012-03-04 16:22:05 +0100111library/configparser,,:home,my_dir: ${Common:home_dir}/twosheds
112library/configparser,,:option,${section:option}
113library/configparser,,:path,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
114library/configparser,,:Python,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
115library/configparser,,`,# Set the optional `raw` argument of get() to True if you wish to disable
116library/configparser,,:system,path: ${Common:system_dir}/Library/Frameworks/
117library/configparser,,`,# The optional `fallback` argument can be used to provide a fallback value
118library/configparser,,`,# The optional `vars` argument is a dict with members that will take
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000119library/datetime,,:MM,
120library/datetime,,:SS,
121library/decimal,,:optional,"trailneg:optional trailing minus indicator"
122library/difflib,,:ahi,a[alo:ahi]
123library/difflib,,:bhi,b[blo:bhi]
Georg Brandl0e475c32012-03-04 16:22:05 +0100124library/difflib,,:i1,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000125library/difflib,,:i2,
126library/difflib,,:j2,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000127library/dis,,:TOS,
128library/dis,,`,TOS = `TOS`
129library/doctest,,`,``factorial`` from the ``example`` module:
130library/doctest,,`,The ``example`` module
131library/doctest,,`,Using ``factorial``
Ezio Melottie5caf292013-03-28 04:54:58 +0200132library/exceptions,,:err,err.object[err.start:err.end]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000133library/functions,,:step,a[start:stop:step]
134library/functions,,:stop,"a[start:stop, i]"
135library/functions,,:stop,a[start:stop:step]
136library/hotshot,,:lineno,"ncalls tottime percall cumtime percall filename:lineno(function)"
Ezio Melottibe54d6d2012-09-20 08:46:06 +0300137library/http.client,,:port,host:port
Georg Brandlebb29642012-05-01 09:29:56 +0200138library/http.cookies,,`,!#$%&'*+-.^_`|~:
Georg Brandld3b41c62011-07-09 11:48:50 +0200139library/imaplib,,:MM,"""DD-Mmm-YYYY HH:MM:SS"
140library/imaplib,,:SS,"""DD-Mmm-YYYY HH:MM:SS"
Ezio Melotti6f69fb12012-08-22 08:38:04 +0300141library/inspect,,:int,">>> def foo(a, *, b:int, **kwargs):"
142library/inspect,,:int,"'(a, *, b:int, **kwargs)'"
143library/inspect,,:int,'b:int'
Georg Brandl3f81ba82012-06-26 09:12:26 +0200144library/ipaddress,,:db8,>>> ipaddress.ip_address('2001:db8::')
145library/ipaddress,,::,>>> ipaddress.ip_address('2001:db8::')
146library/ipaddress,,:db8,IPv6Address('2001:db8::')
147library/ipaddress,,::,IPv6Address('2001:db8::')
148library/ipaddress,,:db8,>>> ipaddress.IPv6Address('2001:db8::1000')
149library/ipaddress,,::,>>> ipaddress.IPv6Address('2001:db8::1000')
150library/ipaddress,,:db8,IPv6Address('2001:db8::1000')
151library/ipaddress,,::,IPv6Address('2001:db8::1000')
152library/ipaddress,,:db8,>>> ipaddress.IPv6Interface('2001:db8::1000/96')
153library/ipaddress,,::,>>> ipaddress.IPv6Interface('2001:db8::1000/96')
154library/ipaddress,,:db8,IPv6Interface('2001:db8::1000/96')
155library/ipaddress,,::,IPv6Interface('2001:db8::1000/96')
156library/ipaddress,,:db8,>>> ipaddress.IPv6Interface('2001:db8::1000/96').network
157library/ipaddress,,::,>>> ipaddress.IPv6Interface('2001:db8::1000/96').network
158library/ipaddress,,:db8,IPv6Network('2001:db8::/96')
159library/ipaddress,,::,IPv6Network('2001:db8::/96')
160library/ipaddress,,:db8,>>> ipaddress.IPv6Network('2001:db8::/96')
161library/ipaddress,,::,>>> ipaddress.IPv6Network('2001:db8::/96')
162library/ipaddress,,:db8,IPv6Network('2001:db8::/96')
163library/ipaddress,,::,IPv6Network('2001:db8::/96')
164library/ipaddress,,:db8,>>> ipaddress.IPv6Network('2001:db8::/96').netmask
165library/ipaddress,,::,>>> ipaddress.IPv6Network('2001:db8::/96').netmask
166library/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
167library/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
168library/ipaddress,,:db8,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
169library/ipaddress,,::,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
Georg Brandla81b4812012-08-11 08:43:59 +0200170library/ipaddress,,::,"""::abc:7:def"""
171library/ipaddress,,:def,"""::abc:7:def"""
172library/ipaddress,,::,::FFFF/96
173library/ipaddress,,::,2002::/16
174library/ipaddress,,::,2001::/32
175library/ipaddress,,::,>>> str(ipaddress.IPv6Address('::1'))
176library/ipaddress,,::,'::1'
177library/ipaddress,,::,>>> int(ipaddress.IPv6Address('::1'))
178library/ipaddress,,:ff00,ffff:ff00::
179library/ipaddress,,:db00,2001:db00::0/24
180library/ipaddress,,::,2001:db00::0/24
181library/ipaddress,,:db00,2001:db00::0/ffff:ff00::
182library/ipaddress,,::,2001:db00::0/ffff:ff00::
183library/ipaddress,,:ff00,2001:db00::0/ffff:ff00::
Benjamin Petersonef3e4c22009-04-11 19:48:14 +0000184library/itertools,,:step,elements from seq[start:stop:step]
Georg Brandl0e475c32012-03-04 16:22:05 +0100185library/itertools,,:stop,elements from seq[start:stop:step]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000186library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"
187library/logging,,:And,
Georg Brandl0e475c32012-03-04 16:22:05 +0100188library/logging,,:Doing,INFO:root:Doing something
189library/logging,,:Finished,INFO:root:Finished
190library/logging,,:logger,severity:logger name:message
191library/logging,,:Look,WARNING:root:Look before you leap!
192library/logging,,:message,severity:logger name:message
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000193library/logging,,:package1,
194library/logging,,:package2,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000195library/logging,,:port,host:port
Georg Brandl0e475c32012-03-04 16:22:05 +0100196library/logging,,:root,
197library/logging,,:So,INFO:root:So should this
198library/logging,,:So,INFO:So should this
199library/logging,,:Started,INFO:root:Started
200library/logging,,:This,
201library/logging,,:Watch,WARNING:root:Watch out!
202library/logging.handlers,,:port,host:port
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000203library/mmap,,:i2,obj[i1:i2]
Georg Brandl0e475c32012-03-04 16:22:05 +0100204library/multiprocessing,,`,# Add more tasks using `put()`
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000205library/multiprocessing,,`,# A test file for the `multiprocessing` package
206library/multiprocessing,,`,# A test of `multiprocessing.Pool` class
Georg Brandl0e475c32012-03-04 16:22:05 +0100207library/multiprocessing,,`,# `BaseManager`.
208library/multiprocessing,,`,`Cluster` is a subclass of `SyncManager` so it allows creation of
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000209library/multiprocessing,,`,# create server for a `HostManager` object
210library/multiprocessing,,`,# Depends on `multiprocessing` package -- tested with `processing-0.60`
Georg Brandl0e475c32012-03-04 16:22:05 +0100211library/multiprocessing,,`,`hostname` gives the name of the host. If hostname is not
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000212library/multiprocessing,,`,# in the original order then consider using `Pool.map()` or
Georg Brandl0e475c32012-03-04 16:22:05 +0100213library/multiprocessing,,`,">>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`"
214library/multiprocessing,,`,">>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000215library/multiprocessing,,`,# Not sure if we should synchronize access to `socket.accept()` method by
216library/multiprocessing,,`,# object. (We import `multiprocessing.reduction` to enable this pickling.)
Georg Brandl0e475c32012-03-04 16:22:05 +0100217library/multiprocessing,,`,# `Pool.imap()` (which will save on the amount of code needed anyway).
218library/multiprocessing,,:queue,">>> QueueManager.register('get_queue', callable=lambda:queue)"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000219library/multiprocessing,,`,# register the Foo class; make `f()` and `g()` accessible via proxy
220library/multiprocessing,,`,# register the Foo class; make `g()` and `_h()` accessible via proxy
221library/multiprocessing,,`,# register the generator function baz; use `GeneratorProxy` to make proxies
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000222library/multiprocessing,,`,`slots` is used to specify the number of slots for processes on
Georg Brandl0e475c32012-03-04 16:22:05 +0100223library/nntplib,,:bytes,:bytes
224library/nntplib,,:bytes,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
225library/nntplib,,:lines,:lines
226library/nntplib,,:lines,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000227library/optparse,,:len,"del parser.rargs[:len(value)]"
228library/os.path,,:foo,c:foo
229library/parser,,`,"""Make a function that raises an argument to the exponent `exp`."""
Georg Brandl0e475c32012-03-04 16:22:05 +0100230library/pdb,,:lineno,filename:lineno
231library/pdb,,:lineno,[filename:lineno | bpnumber [bpnumber ...]]
232library/pickle,,:memory,"conn = sqlite3.connect("":memory:"")"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000233library/posix,,`,"CFLAGS=""`getconf LFS_CFLAGS`"" OPT=""-g -O2 $CFLAGS"""
Georg Brandl0e475c32012-03-04 16:22:05 +0100234library/pprint,209,::,"'classifiers': ['Development Status :: 4 - Beta',"
235library/pprint,209,::,"'Intended Audience :: Developers',"
236library/pprint,209,::,"'License :: OSI Approved :: MIT License',"
237library/pprint,209,::,"'Natural Language :: English',"
238library/pprint,209,::,"'Operating System :: OS Independent',"
239library/pprint,209,::,"'Programming Language :: Python',"
240library/pprint,209,::,"'Programming Language :: Python :: 2',"
241library/pprint,209,::,"'Programming Language :: Python :: 2.6',"
242library/pprint,209,::,"'Programming Language :: Python :: 2.7',"
243library/pprint,209,::,"'Topic :: Software Development :: Libraries',"
244library/pprint,209,::,"'Topic :: Software Development :: Libraries :: Python Modules'],"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000245library/profile,,:lineno,filename:lineno(function)
Georg Brandl0e475c32012-03-04 16:22:05 +0100246library/profile,,:lineno,ncalls tottime percall cumtime percall filename:lineno(function)
247library/profile,,:lineno,"(sort by filename:lineno),"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000248library/pyexpat,,:elem1,<py:elem1 />
249library/pyexpat,,:py,"xmlns:py = ""http://www.python.org/ns/"">"
250library/repr,,`,"return `obj`"
251library/smtplib,,:port,"as well as a regular host:port server."
Georg Brandl0e475c32012-03-04 16:22:05 +0100252library/smtplib,,:port,method must support that as well as a regular host:port
253library/socket,,::,"(10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000254library/socket,,::,'5aef:2b::8'
Georg Brandl0e475c32012-03-04 16:22:05 +0100255library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])"
256library/socket,,:len,fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
257library/sqlite3,,:age,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000258library/sqlite3,,:age,"select name_last, age from people where name_last=:who and age=:age"
Georg Brandl0e475c32012-03-04 16:22:05 +0100259library/sqlite3,,:memory,
260library/sqlite3,,:who,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000261library/ssl,,:My,"Organizational Unit Name (eg, section) []:My Group"
Georg Brandl0e475c32012-03-04 16:22:05 +0100262library/ssl,,:My,"Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc."
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000263library/ssl,,:myserver,"Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com"
264library/ssl,,:MyState,State or Province Name (full name) [Some-State]:MyState
265library/ssl,,:ops,Email Address []:ops@myserver.mygroup.myorganization.com
266library/ssl,,:Some,"Locality Name (eg, city) []:Some City"
267library/ssl,,:US,Country Name (2 letter code) [AU]:US
Georg Brandl0e475c32012-03-04 16:22:05 +0100268library/stdtypes,,::,>>> a[::-1].tolist()
269library/stdtypes,,::,>>> a[::2].tolist()
270library/stdtypes,,:end,s[start:end]
271library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000272library/stdtypes,,:len,s[len(s):len(s)]
Georg Brandl0e475c32012-03-04 16:22:05 +0100273library/stdtypes,,::,>>> y = m[::2]
Georg Brandld183f0b2012-08-25 12:14:59 +0200274library/stdtypes,,::,>>> z = y[::-2]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000275library/string,,:end,s[start:end]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000276library/subprocess,,`,"output=`dmesg | grep hda`"
Georg Brandl0e475c32012-03-04 16:22:05 +0100277library/subprocess,,`,"output=`mycmd myarg`"
278library/tarfile,,:bz2,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000279library/tarfile,,:compression,filemode[:compression]
280library/tarfile,,:gz,
Georg Brandl0e475c32012-03-04 16:22:05 +0100281library/tarfile,,:xz,'a:xz'
282library/tarfile,,:xz,'r:xz'
283library/tarfile,,:xz,'w:xz'
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000284library/time,,:mm,
285library/time,,:ss,
286library/turtle,,::,Example::
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000287library/urllib2,,:password,"""joe:password@python.org"""
Georg Brandl0e475c32012-03-04 16:22:05 +0100288library/urllib,,:port,:port
289library/urllib.request,,:close,Connection:close
290library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
291library/urllib.request,,:password,"""joe:password@python.org"""
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000292library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678
Ezio Melottie5caf292013-03-28 04:54:58 +0200293library/venv,,:param,":param nodist: If True, Distribute is not installed into the created"
294library/venv,,:param,":param nopip: If True, pip is not installed into the created"
295library/venv,,:param,":param progress: If Distribute or pip are installed, the progress of the"
296library/venv,,:param,:param context: The information for the environment creation request
Georg Brandl0e475c32012-03-04 16:22:05 +0100297library/xmlrpc.client,,:pass,http://user:pass@host:port/path
298library/xmlrpc.client,,:pass,user:pass
299library/xmlrpc.client,,:port,http://user:pass@host:port/path
300license,,`,"``Software''), to deal in the Software without restriction, including"
301license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
302license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
303license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
304license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000305license,,`,THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
306license,,:zooko,mailto:zooko@zooko.com
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000307reference/datamodel,,:max,
Georg Brandl0e475c32012-03-04 16:22:05 +0100308reference/datamodel,,:step,a[i:j:step]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000309reference/expressions,,:datum,{key:datum...}
310reference/expressions,,`,`expressions...`
Georg Brandl0e475c32012-03-04 16:22:05 +0100311reference/expressions,,:index,x[index:index]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000312reference/grammar,,:output,#diagram:output
313reference/grammar,,:rules,#diagram:rules
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000314reference/grammar,,`,'`' testlist1 '`'
Georg Brandl0e475c32012-03-04 16:22:05 +0100315reference/grammar,,:token,#diagram:token
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000316reference/lexical_analysis,,`,", : . ` = ;"
Georg Brandl0e475c32012-03-04 16:22:05 +0100317reference/lexical_analysis,,`,$ ? `
318reference/lexical_analysis,,:fileencoding,# vim:fileencoding=<encoding-name>
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000319tutorial/datastructures,,:value,It is also possible to delete a key:value
Georg Brandl0e475c32012-03-04 16:22:05 +0100320tutorial/datastructures,,:value,key:value pairs within the braces adds initial key:value pairs
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000321tutorial/stdlib2,,:config,"logging.warning('Warning:config file %s not found', 'server.conf')"
322tutorial/stdlib2,,:config,WARNING:root:Warning:config file server.conf not found
323tutorial/stdlib2,,:Critical,CRITICAL:root:Critical error -- shutting down
324tutorial/stdlib2,,:Error,ERROR:root:Error occurred
325tutorial/stdlib2,,:root,CRITICAL:root:Critical error -- shutting down
326tutorial/stdlib2,,:root,ERROR:root:Error occurred
327tutorial/stdlib2,,:root,WARNING:root:Warning:config file server.conf not found
Georg Brandl0e475c32012-03-04 16:22:05 +0100328tutorial/stdlib2,,:start,extra = data[start:start+extra_size]
329tutorial/stdlib2,,:start,"fields = struct.unpack('<IIIHH', data[start:start+16])"
330tutorial/stdlib2,,:start,filename = data[start:start+filenamesize]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000331tutorial/stdlib2,,:Warning,WARNING:root:Warning:config file server.conf not found
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000332using/cmdline,,:category,action:message:category:module:line
Georg Brandl0e475c32012-03-04 16:22:05 +0100333using/cmdline,,:errorhandler,:errorhandler
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000334using/cmdline,,:line,action:message:category:module:line
Georg Brandl0e475c32012-03-04 16:22:05 +0100335using/cmdline,,:line,file:line: category: message
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000336using/cmdline,,:message,action:message:category:module:line
337using/cmdline,,:module,action:message:category:module:line
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000338whatsnew/2.0,418,:len,
339whatsnew/2.3,,::,
340whatsnew/2.3,,:config,
341whatsnew/2.3,,:Critical,
342whatsnew/2.3,,:Error,
343whatsnew/2.3,,:Problem,
344whatsnew/2.3,,:root,
345whatsnew/2.3,,:Warning,
346whatsnew/2.4,,::,
347whatsnew/2.4,,:System,
348whatsnew/2.5,,:memory,:memory:
349whatsnew/2.5,,:step,[start:stop:step]
350whatsnew/2.5,,:stop,[start:stop:step]
Georg Brandl19b3e002010-10-06 10:35:24 +0000351whatsnew/2.7,1619,::,"ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100352whatsnew/2.7,1619,::,>>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
353whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
354whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0"
355whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"
Georg Brandl14927d02011-02-20 10:22:41 +0000356whatsnew/3.2,,:affe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100357whatsnew/3.2,,:affe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
358whatsnew/3.2,,:beef,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
359whatsnew/3.2,,:beef,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
360whatsnew/3.2,,:cafe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
361whatsnew/3.2,,:cafe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
Georg Brandl14927d02011-02-20 10:22:41 +0000362whatsnew/3.2,,:deaf,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100363whatsnew/3.2,,:deaf,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
364whatsnew/3.2,,:directory,... ${buildout:directory}/downloads/dist
365whatsnew/3.2,,:directory,${buildout:directory}/downloads/dist
366whatsnew/3.2,,::,"$ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::'"
Georg Brandl14927d02011-02-20 10:22:41 +0000367whatsnew/3.2,,:feed,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100368whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
369whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:"
370whatsnew/3.2,,:location,... zope9-location = ${zope9:location}
371whatsnew/3.2,,:location,zope9-location = ${zope9:location}
372whatsnew/3.2,,:prefix,... zope-conf = ${custom:prefix}/etc/zope.conf
373whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf
Ezio Melottie5caf292013-03-28 04:54:58 +0200374whatsnew/changelog,,:platform,:platform:
375whatsnew/changelog,,:password,: Unquote before b64encoding user:password during Basic
376whatsnew/changelog,,:close,Connection:close header.
377whatsnew/changelog,,:PythonCmd,"With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused"
378whatsnew/changelog,,:close,: Connection:close header is sent by requests using URLOpener
379whatsnew/changelog,,::,": Fix FTP tests for IPv6, bind to ""::1"" instead of ""localhost""."
380whatsnew/changelog,,:test,: test_subprocess:test_leaking_fds_on_error no longer gives a
Ezio Melotti00160662012-10-01 07:10:08 +0300381whatsnew/news,,:platform,:platform:
382whatsnew/news,,:password,: Unquote before b64encoding user:password during Basic
383whatsnew/news,,:close,Connection:close header.
384whatsnew/news,,:PythonCmd,"With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused"
385whatsnew/news,,:close,: Connection:close header is sent by requests using URLOpener
386whatsnew/news,,::,": Fix FTP tests for IPv6, bind to ""::1"" instead of ""localhost""."
387whatsnew/news,,:test,: test_subprocess:test_leaking_fds_on_error no longer gives a
388whatsnew/news,,:test,: Fix test_posix:test_getgroups failure under Solaris. Patch
389whatsnew/news,,:Olimit,Drop -OPT:Olimit compiler option.
390whatsnew/news,,:MAXYEAR,timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range.
391whatsnew/news,,:bz2,with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or
392whatsnew/news,,:db2,: Add configure option --with-dbmliborder=db1:db2:... to specify