blob: 703e539212c509e813959fff513e5517a15d9f03 [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,"
20faq/windows,229,:EOF,@setlocal enableextensions & python -x %~f0 %* & goto :EOF
21faq/windows,393,:REG,.py :REG_SZ: c:\<path to python>\python.exe -u %s %s
Benjamin Peterson28d88b42009-01-09 03:03:23 +000022howto/cporting,,:add,"if (!PyArg_ParseTuple(args, ""ii:add_ints"", &one, &two))"
23howto/cporting,,:encode,"if (!PyArg_ParseTuple(args, ""O:encode_object"", &myobj))"
24howto/cporting,,:say,"if (!PyArg_ParseTuple(args, ""U:say_hello"", &name))"
25howto/curses,,:black,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
26howto/curses,,:blue,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
27howto/curses,,:cyan,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
28howto/curses,,:green,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
29howto/curses,,:magenta,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
30howto/curses,,:red,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
31howto/curses,,:white,"7:white."
32howto/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 +020033howto/ipaddress,,:DB8,>>> ipaddress.ip_address('2001:DB8::1')
34howto/ipaddress,,::,>>> ipaddress.ip_address('2001:DB8::1')
35howto/ipaddress,,:db8,IPv6Address('2001:db8::1')
36howto/ipaddress,,::,IPv6Address('2001:db8::1')
37howto/ipaddress,,:db8,IPv6Address('2001:db8::1')
38howto/ipaddress,,::,IPv6Address('2001:db8::1')
39howto/ipaddress,,::,IPv6Address('::1')
40howto/ipaddress,,:db8,>>> ipaddress.ip_network('2001:db8::0/96')
41howto/ipaddress,,::,>>> ipaddress.ip_network('2001:db8::0/96')
42howto/ipaddress,,:db8,IPv6Network('2001:db8::/96')
43howto/ipaddress,,::,IPv6Network('2001:db8::/96')
44howto/ipaddress,,:db8,IPv6Network('2001:db8::/128')
45howto/ipaddress,,::,IPv6Network('2001:db8::/128')
46howto/ipaddress,,:db8,>>> ipaddress.ip_network('2001:db8::1/96')
47howto/ipaddress,,::,>>> ipaddress.ip_network('2001:db8::1/96')
48howto/ipaddress,,:db8,IPv6Interface('2001:db8::1/96')
49howto/ipaddress,,::,IPv6Interface('2001:db8::1/96')
50howto/ipaddress,,:db8,>>> addr6 = ipaddress.ip_address('2001:db8::1')
51howto/ipaddress,,::,>>> addr6 = ipaddress.ip_address('2001:db8::1')
52howto/ipaddress,,:db8,>>> host6 = ipaddress.ip_interface('2001:db8::1/96')
53howto/ipaddress,,::,>>> host6 = ipaddress.ip_interface('2001:db8::1/96')
54howto/ipaddress,,:db8,IPv6Network('2001:db8::/96')
55howto/ipaddress,,::,IPv6Network('2001:db8::/96')
56howto/ipaddress,,:db8,>>> net6 = ipaddress.ip_network('2001:db8::0/96')
57howto/ipaddress,,::,>>> net6 = ipaddress.ip_network('2001:db8::0/96')
58howto/ipaddress,,:db8,>>> net6 = ipaddress.ip_network('2001:db8::0/96')
59howto/ipaddress,,::,>>> net6 = ipaddress.ip_network('2001:db8::0/96')
60howto/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
61howto/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
62howto/ipaddress,,::,IPv6Address('::ffff:ffff')
63howto/ipaddress,,:ffff,IPv6Address('::ffff:ffff')
64howto/ipaddress,,::,IPv6Address('2001::1')
65howto/ipaddress,,::,IPv6Address('2001::ffff:ffff')
66howto/ipaddress,,:ffff,IPv6Address('2001::ffff:ffff')
Georg Brandla81b4812012-08-11 08:43:59 +020067howto/ipaddress,,:db8,'2001:db8::'
68howto/ipaddress,,::,'2001:db8::'
69howto/ipaddress,,:db8,'2001:db8::/96'
70howto/ipaddress,,::,'2001:db8::/96'
Georg Brandl0e475c32012-03-04 16:22:05 +010071howto/logging,,:And,"WARNING:And this, too"
72howto/logging,,:And,"WARNING:root:And this, too"
73howto/logging,,:Doing,INFO:root:Doing something
74howto/logging,,:Finished,INFO:root:Finished
75howto/logging,,:logger,severity:logger name:message
76howto/logging,,:Look,WARNING:root:Look before you leap!
77howto/logging,,:message,severity:logger name:message
78howto/logging,,:root,DEBUG:root:This message should go to the log file
79howto/logging,,:root,INFO:root:Doing something
80howto/logging,,:root,INFO:root:Finished
81howto/logging,,:root,INFO:root:So should this
82howto/logging,,:root,INFO:root:Started
83howto/logging,,:root,"WARNING:root:And this, too"
84howto/logging,,:root,WARNING:root:Look before you leap!
85howto/logging,,:root,WARNING:root:Watch out!
86howto/logging,,:So,INFO:root:So should this
87howto/logging,,:So,INFO:So should this
88howto/logging,,:Started,INFO:root:Started
89howto/logging,,:This,DEBUG:root:This message should go to the log file
90howto/logging,,:This,DEBUG:This message should appear on the console
91howto/logging,,:Watch,WARNING:root:Watch out!
92howto/pyporting,75,::,# make sure to use :: Python *and* :: Python :: 3 so
93howto/pyporting,75,::,"'Programming Language :: Python',"
94howto/pyporting,75,::,'Programming Language :: Python :: 3'
Benjamin Peterson28d88b42009-01-09 03:03:23 +000095howto/regex,,::,
96howto/regex,,:foo,(?:foo)
97howto/urllib2,,:example,"for example ""joe@password:example.com"""
98howto/webservers,,.. image:,.. image:: http.png
99library/audioop,,:ipos,"# factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)],"
Georg Brandl0e475c32012-03-04 16:22:05 +0100100library/bisect,32,:hi,all(val >= x for val in a[i:hi])
101library/bisect,42,:hi,all(val > x for val in a[i:hi])
102library/configparser,,:home,my_dir: ${Common:home_dir}/twosheds
103library/configparser,,:option,${section:option}
104library/configparser,,:path,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
105library/configparser,,:Python,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
106library/configparser,,`,# Set the optional `raw` argument of get() to True if you wish to disable
107library/configparser,,:system,path: ${Common:system_dir}/Library/Frameworks/
108library/configparser,,`,# The optional `fallback` argument can be used to provide a fallback value
109library/configparser,,`,# The optional `vars` argument is a dict with members that will take
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000110library/datetime,,:MM,
111library/datetime,,:SS,
112library/decimal,,:optional,"trailneg:optional trailing minus indicator"
113library/difflib,,:ahi,a[alo:ahi]
114library/difflib,,:bhi,b[blo:bhi]
Georg Brandl0e475c32012-03-04 16:22:05 +0100115library/difflib,,:i1,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000116library/difflib,,:i2,
117library/difflib,,:j2,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000118library/dis,,:TOS,
119library/dis,,`,TOS = `TOS`
120library/doctest,,`,``factorial`` from the ``example`` module:
121library/doctest,,`,The ``example`` module
122library/doctest,,`,Using ``factorial``
123library/functions,,:step,a[start:stop:step]
124library/functions,,:stop,"a[start:stop, i]"
125library/functions,,:stop,a[start:stop:step]
126library/hotshot,,:lineno,"ncalls tottime percall cumtime percall filename:lineno(function)"
Georg Brandl0e475c32012-03-04 16:22:05 +0100127library/http.client,52,:port,host:port
Georg Brandlebb29642012-05-01 09:29:56 +0200128library/http.cookies,,`,!#$%&'*+-.^_`|~:
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000129library/httplib,,:port,host:port
Georg Brandld3b41c62011-07-09 11:48:50 +0200130library/imaplib,,:MM,"""DD-Mmm-YYYY HH:MM:SS"
131library/imaplib,,:SS,"""DD-Mmm-YYYY HH:MM:SS"
Georg Brandl3f81ba82012-06-26 09:12:26 +0200132library/ipaddress,,:db8,>>> ipaddress.ip_address('2001:db8::')
133library/ipaddress,,::,>>> ipaddress.ip_address('2001:db8::')
134library/ipaddress,,:db8,IPv6Address('2001:db8::')
135library/ipaddress,,::,IPv6Address('2001:db8::')
136library/ipaddress,,:db8,>>> ipaddress.IPv6Address('2001:db8::1000')
137library/ipaddress,,::,>>> ipaddress.IPv6Address('2001:db8::1000')
138library/ipaddress,,:db8,IPv6Address('2001:db8::1000')
139library/ipaddress,,::,IPv6Address('2001:db8::1000')
140library/ipaddress,,:db8,>>> ipaddress.IPv6Interface('2001:db8::1000/96')
141library/ipaddress,,::,>>> ipaddress.IPv6Interface('2001:db8::1000/96')
142library/ipaddress,,:db8,IPv6Interface('2001:db8::1000/96')
143library/ipaddress,,::,IPv6Interface('2001:db8::1000/96')
144library/ipaddress,,:db8,>>> ipaddress.IPv6Interface('2001:db8::1000/96').network
145library/ipaddress,,::,>>> ipaddress.IPv6Interface('2001:db8::1000/96').network
146library/ipaddress,,:db8,IPv6Network('2001:db8::/96')
147library/ipaddress,,::,IPv6Network('2001:db8::/96')
148library/ipaddress,,:db8,>>> ipaddress.IPv6Network('2001:db8::/96')
149library/ipaddress,,::,>>> ipaddress.IPv6Network('2001:db8::/96')
150library/ipaddress,,:db8,IPv6Network('2001:db8::/96')
151library/ipaddress,,::,IPv6Network('2001:db8::/96')
152library/ipaddress,,:db8,>>> ipaddress.IPv6Network('2001:db8::/96').netmask
153library/ipaddress,,::,>>> ipaddress.IPv6Network('2001:db8::/96').netmask
154library/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
155library/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
156library/ipaddress,,:db8,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
157library/ipaddress,,::,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
Georg Brandla81b4812012-08-11 08:43:59 +0200158library/ipaddress,,::,"""::abc:7:def"""
159library/ipaddress,,:def,"""::abc:7:def"""
160library/ipaddress,,::,::FFFF/96
161library/ipaddress,,::,2002::/16
162library/ipaddress,,::,2001::/32
163library/ipaddress,,::,>>> str(ipaddress.IPv6Address('::1'))
164library/ipaddress,,::,'::1'
165library/ipaddress,,::,>>> int(ipaddress.IPv6Address('::1'))
166library/ipaddress,,:ff00,ffff:ff00::
167library/ipaddress,,:db00,2001:db00::0/24
168library/ipaddress,,::,2001:db00::0/24
169library/ipaddress,,:db00,2001:db00::0/ffff:ff00::
170library/ipaddress,,::,2001:db00::0/ffff:ff00::
171library/ipaddress,,:ff00,2001:db00::0/ffff:ff00::
Benjamin Petersonef3e4c22009-04-11 19:48:14 +0000172library/itertools,,:step,elements from seq[start:stop:step]
Georg Brandl0e475c32012-03-04 16:22:05 +0100173library/itertools,,:stop,elements from seq[start:stop:step]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000174library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"
175library/logging,,:And,
Georg Brandl0e475c32012-03-04 16:22:05 +0100176library/logging,,:Doing,INFO:root:Doing something
177library/logging,,:Finished,INFO:root:Finished
178library/logging,,:logger,severity:logger name:message
179library/logging,,:Look,WARNING:root:Look before you leap!
180library/logging,,:message,severity:logger name:message
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000181library/logging,,:package1,
182library/logging,,:package2,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000183library/logging,,:port,host:port
Georg Brandl0e475c32012-03-04 16:22:05 +0100184library/logging,,:root,
185library/logging,,:So,INFO:root:So should this
186library/logging,,:So,INFO:So should this
187library/logging,,:Started,INFO:root:Started
188library/logging,,:This,
189library/logging,,:Watch,WARNING:root:Watch out!
190library/logging.handlers,,:port,host:port
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000191library/mmap,,:i2,obj[i1:i2]
Georg Brandl0e475c32012-03-04 16:22:05 +0100192library/multiprocessing,,`,# Add more tasks using `put()`
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000193library/multiprocessing,,`,# A test file for the `multiprocessing` package
194library/multiprocessing,,`,# A test of `multiprocessing.Pool` class
Georg Brandl0e475c32012-03-04 16:22:05 +0100195library/multiprocessing,,`,# `BaseManager`.
196library/multiprocessing,,`,`Cluster` is a subclass of `SyncManager` so it allows creation of
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000197library/multiprocessing,,`,# create server for a `HostManager` object
198library/multiprocessing,,`,# Depends on `multiprocessing` package -- tested with `processing-0.60`
Georg Brandl0e475c32012-03-04 16:22:05 +0100199library/multiprocessing,,`,`hostname` gives the name of the host. If hostname is not
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000200library/multiprocessing,,`,# in the original order then consider using `Pool.map()` or
Georg Brandl0e475c32012-03-04 16:22:05 +0100201library/multiprocessing,,`,">>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`"
202library/multiprocessing,,`,">>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000203library/multiprocessing,,`,# Not sure if we should synchronize access to `socket.accept()` method by
204library/multiprocessing,,`,# object. (We import `multiprocessing.reduction` to enable this pickling.)
Georg Brandl0e475c32012-03-04 16:22:05 +0100205library/multiprocessing,,`,# `Pool.imap()` (which will save on the amount of code needed anyway).
206library/multiprocessing,,:queue,">>> QueueManager.register('get_queue', callable=lambda:queue)"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000207library/multiprocessing,,`,# register the Foo class; make `f()` and `g()` accessible via proxy
208library/multiprocessing,,`,# register the Foo class; make `g()` and `_h()` accessible via proxy
209library/multiprocessing,,`,# register the generator function baz; use `GeneratorProxy` to make proxies
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000210library/multiprocessing,,`,`slots` is used to specify the number of slots for processes on
Georg Brandl0e475c32012-03-04 16:22:05 +0100211library/nntplib,,:bytes,:bytes
212library/nntplib,,:bytes,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
213library/nntplib,,:lines,:lines
214library/nntplib,,:lines,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000215library/optparse,,:len,"del parser.rargs[:len(value)]"
216library/os.path,,:foo,c:foo
217library/parser,,`,"""Make a function that raises an argument to the exponent `exp`."""
Georg Brandl0e475c32012-03-04 16:22:05 +0100218library/pdb,,:lineno,filename:lineno
219library/pdb,,:lineno,[filename:lineno | bpnumber [bpnumber ...]]
220library/pickle,,:memory,"conn = sqlite3.connect("":memory:"")"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000221library/posix,,`,"CFLAGS=""`getconf LFS_CFLAGS`"" OPT=""-g -O2 $CFLAGS"""
Georg Brandl0e475c32012-03-04 16:22:05 +0100222library/pprint,209,::,"'classifiers': ['Development Status :: 4 - Beta',"
223library/pprint,209,::,"'Intended Audience :: Developers',"
224library/pprint,209,::,"'License :: OSI Approved :: MIT License',"
225library/pprint,209,::,"'Natural Language :: English',"
226library/pprint,209,::,"'Operating System :: OS Independent',"
227library/pprint,209,::,"'Programming Language :: Python',"
228library/pprint,209,::,"'Programming Language :: Python :: 2',"
229library/pprint,209,::,"'Programming Language :: Python :: 2.6',"
230library/pprint,209,::,"'Programming Language :: Python :: 2.7',"
231library/pprint,209,::,"'Topic :: Software Development :: Libraries',"
232library/pprint,209,::,"'Topic :: Software Development :: Libraries :: Python Modules'],"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000233library/profile,,:lineno,filename:lineno(function)
Georg Brandl0e475c32012-03-04 16:22:05 +0100234library/profile,,:lineno,ncalls tottime percall cumtime percall filename:lineno(function)
235library/profile,,:lineno,"(sort by filename:lineno),"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000236library/pyexpat,,:elem1,<py:elem1 />
237library/pyexpat,,:py,"xmlns:py = ""http://www.python.org/ns/"">"
238library/repr,,`,"return `obj`"
239library/smtplib,,:port,"as well as a regular host:port server."
Georg Brandl0e475c32012-03-04 16:22:05 +0100240library/smtplib,,:port,method must support that as well as a regular host:port
241library/socket,,::,"(10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000242library/socket,,::,'5aef:2b::8'
Georg Brandl0e475c32012-03-04 16:22:05 +0100243library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])"
244library/socket,,:len,fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
245library/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 +0000246library/sqlite3,,:age,"select name_last, age from people where name_last=:who and age=:age"
Georg Brandl0e475c32012-03-04 16:22:05 +0100247library/sqlite3,,:memory,
248library/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 +0000249library/ssl,,:My,"Organizational Unit Name (eg, section) []:My Group"
Georg Brandl0e475c32012-03-04 16:22:05 +0100250library/ssl,,:My,"Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc."
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000251library/ssl,,:myserver,"Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com"
252library/ssl,,:MyState,State or Province Name (full name) [Some-State]:MyState
253library/ssl,,:ops,Email Address []:ops@myserver.mygroup.myorganization.com
254library/ssl,,:Some,"Locality Name (eg, city) []:Some City"
255library/ssl,,:US,Country Name (2 letter code) [AU]:US
Georg Brandl0e475c32012-03-04 16:22:05 +0100256library/stdtypes,,::,>>> a[::-1].tolist()
257library/stdtypes,,::,>>> a[::2].tolist()
258library/stdtypes,,:end,s[start:end]
259library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000260library/stdtypes,,:len,s[len(s):len(s)]
Georg Brandl0e475c32012-03-04 16:22:05 +0100261library/stdtypes,,::,>>> y = m[::2]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000262library/string,,:end,s[start:end]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000263library/subprocess,,`,"output=`dmesg | grep hda`"
Georg Brandl0e475c32012-03-04 16:22:05 +0100264library/subprocess,,`,"output=`mycmd myarg`"
265library/tarfile,,:bz2,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000266library/tarfile,,:compression,filemode[:compression]
267library/tarfile,,:gz,
Georg Brandl0e475c32012-03-04 16:22:05 +0100268library/tarfile,,:xz,'a:xz'
269library/tarfile,,:xz,'r:xz'
270library/tarfile,,:xz,'w:xz'
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000271library/time,,:mm,
272library/time,,:ss,
273library/turtle,,::,Example::
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000274library/urllib2,,:password,"""joe:password@python.org"""
Georg Brandl0e475c32012-03-04 16:22:05 +0100275library/urllib,,:port,:port
276library/urllib.request,,:close,Connection:close
277library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
278library/urllib.request,,:password,"""joe:password@python.org"""
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000279library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678
Georg Brandl0e475c32012-03-04 16:22:05 +0100280library/xmlrpc.client,,:pass,http://user:pass@host:port/path
281library/xmlrpc.client,,:pass,user:pass
282library/xmlrpc.client,,:port,http://user:pass@host:port/path
283license,,`,"``Software''), to deal in the Software without restriction, including"
284license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
285license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
286license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
287license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000288license,,`,THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
289license,,:zooko,mailto:zooko@zooko.com
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000290reference/datamodel,,:max,
Georg Brandl0e475c32012-03-04 16:22:05 +0100291reference/datamodel,,:step,a[i:j:step]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000292reference/expressions,,:datum,{key:datum...}
293reference/expressions,,`,`expressions...`
Georg Brandl0e475c32012-03-04 16:22:05 +0100294reference/expressions,,:index,x[index:index]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000295reference/grammar,,:output,#diagram:output
296reference/grammar,,:rules,#diagram:rules
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000297reference/grammar,,`,'`' testlist1 '`'
Georg Brandl0e475c32012-03-04 16:22:05 +0100298reference/grammar,,:token,#diagram:token
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000299reference/lexical_analysis,,`,", : . ` = ;"
Georg Brandl0e475c32012-03-04 16:22:05 +0100300reference/lexical_analysis,,`,$ ? `
301reference/lexical_analysis,,:fileencoding,# vim:fileencoding=<encoding-name>
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000302tutorial/datastructures,,:value,It is also possible to delete a key:value
Georg Brandl0e475c32012-03-04 16:22:05 +0100303tutorial/datastructures,,:value,key:value pairs within the braces adds initial key:value pairs
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000304tutorial/stdlib2,,:config,"logging.warning('Warning:config file %s not found', 'server.conf')"
305tutorial/stdlib2,,:config,WARNING:root:Warning:config file server.conf not found
306tutorial/stdlib2,,:Critical,CRITICAL:root:Critical error -- shutting down
307tutorial/stdlib2,,:Error,ERROR:root:Error occurred
308tutorial/stdlib2,,:root,CRITICAL:root:Critical error -- shutting down
309tutorial/stdlib2,,:root,ERROR:root:Error occurred
310tutorial/stdlib2,,:root,WARNING:root:Warning:config file server.conf not found
Georg Brandl0e475c32012-03-04 16:22:05 +0100311tutorial/stdlib2,,:start,extra = data[start:start+extra_size]
312tutorial/stdlib2,,:start,"fields = struct.unpack('<IIIHH', data[start:start+16])"
313tutorial/stdlib2,,:start,filename = data[start:start+filenamesize]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000314tutorial/stdlib2,,:Warning,WARNING:root:Warning:config file server.conf not found
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000315using/cmdline,,:category,action:message:category:module:line
Georg Brandl0e475c32012-03-04 16:22:05 +0100316using/cmdline,,:errorhandler,:errorhandler
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000317using/cmdline,,:line,action:message:category:module:line
Georg Brandl0e475c32012-03-04 16:22:05 +0100318using/cmdline,,:line,file:line: category: message
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000319using/cmdline,,:message,action:message:category:module:line
320using/cmdline,,:module,action:message:category:module:line
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000321whatsnew/2.0,418,:len,
322whatsnew/2.3,,::,
323whatsnew/2.3,,:config,
324whatsnew/2.3,,:Critical,
325whatsnew/2.3,,:Error,
326whatsnew/2.3,,:Problem,
327whatsnew/2.3,,:root,
328whatsnew/2.3,,:Warning,
329whatsnew/2.4,,::,
330whatsnew/2.4,,:System,
331whatsnew/2.5,,:memory,:memory:
332whatsnew/2.5,,:step,[start:stop:step]
333whatsnew/2.5,,:stop,[start:stop:step]
Georg Brandl19b3e002010-10-06 10:35:24 +0000334whatsnew/2.7,1619,::,"ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100335whatsnew/2.7,1619,::,>>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
336whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
337whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0"
338whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"
Georg Brandl14927d02011-02-20 10:22:41 +0000339whatsnew/3.2,,:affe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100340whatsnew/3.2,,:affe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
341whatsnew/3.2,,:beef,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
342whatsnew/3.2,,:beef,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
343whatsnew/3.2,,:cafe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
344whatsnew/3.2,,:cafe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
Georg Brandl14927d02011-02-20 10:22:41 +0000345whatsnew/3.2,,:deaf,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100346whatsnew/3.2,,:deaf,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
347whatsnew/3.2,,:directory,... ${buildout:directory}/downloads/dist
348whatsnew/3.2,,:directory,${buildout:directory}/downloads/dist
349whatsnew/3.2,,::,"$ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::'"
Georg Brandl14927d02011-02-20 10:22:41 +0000350whatsnew/3.2,,:feed,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100351whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
352whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:"
353whatsnew/3.2,,:location,... zope9-location = ${zope9:location}
354whatsnew/3.2,,:location,zope9-location = ${zope9:location}
355whatsnew/3.2,,:prefix,... zope-conf = ${custom:prefix}/etc/zope.conf
356whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf