blob: 138e00049c670337b5384189223f7a5766a67c9d [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)"
Ezio Melottibe54d6d2012-09-20 08:46:06 +0300127library/http.client,,:port,host:port
Georg Brandlebb29642012-05-01 09:29:56 +0200128library/http.cookies,,`,!#$%&'*+-.^_`|~:
Georg Brandld3b41c62011-07-09 11:48:50 +0200129library/imaplib,,:MM,"""DD-Mmm-YYYY HH:MM:SS"
130library/imaplib,,:SS,"""DD-Mmm-YYYY HH:MM:SS"
Ezio Melotti6f69fb12012-08-22 08:38:04 +0300131library/inspect,,:int,">>> def foo(a, *, b:int, **kwargs):"
132library/inspect,,:int,"'(a, *, b:int, **kwargs)'"
133library/inspect,,:int,'b:int'
Georg Brandl3f81ba82012-06-26 09:12:26 +0200134library/ipaddress,,:db8,>>> ipaddress.ip_address('2001:db8::')
135library/ipaddress,,::,>>> ipaddress.ip_address('2001:db8::')
136library/ipaddress,,:db8,IPv6Address('2001:db8::')
137library/ipaddress,,::,IPv6Address('2001:db8::')
138library/ipaddress,,:db8,>>> ipaddress.IPv6Address('2001:db8::1000')
139library/ipaddress,,::,>>> ipaddress.IPv6Address('2001:db8::1000')
140library/ipaddress,,:db8,IPv6Address('2001:db8::1000')
141library/ipaddress,,::,IPv6Address('2001:db8::1000')
142library/ipaddress,,:db8,>>> ipaddress.IPv6Interface('2001:db8::1000/96')
143library/ipaddress,,::,>>> ipaddress.IPv6Interface('2001:db8::1000/96')
144library/ipaddress,,:db8,IPv6Interface('2001:db8::1000/96')
145library/ipaddress,,::,IPv6Interface('2001:db8::1000/96')
146library/ipaddress,,:db8,>>> ipaddress.IPv6Interface('2001:db8::1000/96').network
147library/ipaddress,,::,>>> ipaddress.IPv6Interface('2001:db8::1000/96').network
148library/ipaddress,,:db8,IPv6Network('2001:db8::/96')
149library/ipaddress,,::,IPv6Network('2001:db8::/96')
150library/ipaddress,,:db8,>>> ipaddress.IPv6Network('2001:db8::/96')
151library/ipaddress,,::,>>> ipaddress.IPv6Network('2001:db8::/96')
152library/ipaddress,,:db8,IPv6Network('2001:db8::/96')
153library/ipaddress,,::,IPv6Network('2001:db8::/96')
154library/ipaddress,,:db8,>>> ipaddress.IPv6Network('2001:db8::/96').netmask
155library/ipaddress,,::,>>> ipaddress.IPv6Network('2001:db8::/96').netmask
156library/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
157library/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::')
158library/ipaddress,,:db8,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
159library/ipaddress,,::,">>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False)"
Georg Brandla81b4812012-08-11 08:43:59 +0200160library/ipaddress,,::,"""::abc:7:def"""
161library/ipaddress,,:def,"""::abc:7:def"""
162library/ipaddress,,::,::FFFF/96
163library/ipaddress,,::,2002::/16
164library/ipaddress,,::,2001::/32
165library/ipaddress,,::,>>> str(ipaddress.IPv6Address('::1'))
166library/ipaddress,,::,'::1'
167library/ipaddress,,::,>>> int(ipaddress.IPv6Address('::1'))
168library/ipaddress,,:ff00,ffff:ff00::
169library/ipaddress,,:db00,2001:db00::0/24
170library/ipaddress,,::,2001:db00::0/24
171library/ipaddress,,:db00,2001:db00::0/ffff:ff00::
172library/ipaddress,,::,2001:db00::0/ffff:ff00::
173library/ipaddress,,:ff00,2001:db00::0/ffff:ff00::
Benjamin Petersonef3e4c22009-04-11 19:48:14 +0000174library/itertools,,:step,elements from seq[start:stop:step]
Georg Brandl0e475c32012-03-04 16:22:05 +0100175library/itertools,,:stop,elements from seq[start:stop:step]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000176library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"
177library/logging,,:And,
Georg Brandl0e475c32012-03-04 16:22:05 +0100178library/logging,,:Doing,INFO:root:Doing something
179library/logging,,:Finished,INFO:root:Finished
180library/logging,,:logger,severity:logger name:message
181library/logging,,:Look,WARNING:root:Look before you leap!
182library/logging,,:message,severity:logger name:message
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000183library/logging,,:package1,
184library/logging,,:package2,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000185library/logging,,:port,host:port
Georg Brandl0e475c32012-03-04 16:22:05 +0100186library/logging,,:root,
187library/logging,,:So,INFO:root:So should this
188library/logging,,:So,INFO:So should this
189library/logging,,:Started,INFO:root:Started
190library/logging,,:This,
191library/logging,,:Watch,WARNING:root:Watch out!
192library/logging.handlers,,:port,host:port
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000193library/mmap,,:i2,obj[i1:i2]
Georg Brandl0e475c32012-03-04 16:22:05 +0100194library/multiprocessing,,`,# Add more tasks using `put()`
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000195library/multiprocessing,,`,# A test file for the `multiprocessing` package
196library/multiprocessing,,`,# A test of `multiprocessing.Pool` class
Georg Brandl0e475c32012-03-04 16:22:05 +0100197library/multiprocessing,,`,# `BaseManager`.
198library/multiprocessing,,`,`Cluster` is a subclass of `SyncManager` so it allows creation of
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000199library/multiprocessing,,`,# create server for a `HostManager` object
200library/multiprocessing,,`,# Depends on `multiprocessing` package -- tested with `processing-0.60`
Georg Brandl0e475c32012-03-04 16:22:05 +0100201library/multiprocessing,,`,`hostname` gives the name of the host. If hostname is not
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000202library/multiprocessing,,`,# in the original order then consider using `Pool.map()` or
Georg Brandl0e475c32012-03-04 16:22:05 +0100203library/multiprocessing,,`,">>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`"
204library/multiprocessing,,`,">>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000205library/multiprocessing,,`,# Not sure if we should synchronize access to `socket.accept()` method by
206library/multiprocessing,,`,# object. (We import `multiprocessing.reduction` to enable this pickling.)
Georg Brandl0e475c32012-03-04 16:22:05 +0100207library/multiprocessing,,`,# `Pool.imap()` (which will save on the amount of code needed anyway).
208library/multiprocessing,,:queue,">>> QueueManager.register('get_queue', callable=lambda:queue)"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000209library/multiprocessing,,`,# register the Foo class; make `f()` and `g()` accessible via proxy
210library/multiprocessing,,`,# register the Foo class; make `g()` and `_h()` accessible via proxy
211library/multiprocessing,,`,# register the generator function baz; use `GeneratorProxy` to make proxies
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000212library/multiprocessing,,`,`slots` is used to specify the number of slots for processes on
Georg Brandl0e475c32012-03-04 16:22:05 +0100213library/nntplib,,:bytes,:bytes
214library/nntplib,,:bytes,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
215library/nntplib,,:lines,:lines
216library/nntplib,,:lines,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000217library/optparse,,:len,"del parser.rargs[:len(value)]"
218library/os.path,,:foo,c:foo
219library/parser,,`,"""Make a function that raises an argument to the exponent `exp`."""
Georg Brandl0e475c32012-03-04 16:22:05 +0100220library/pdb,,:lineno,filename:lineno
221library/pdb,,:lineno,[filename:lineno | bpnumber [bpnumber ...]]
222library/pickle,,:memory,"conn = sqlite3.connect("":memory:"")"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000223library/posix,,`,"CFLAGS=""`getconf LFS_CFLAGS`"" OPT=""-g -O2 $CFLAGS"""
Georg Brandl0e475c32012-03-04 16:22:05 +0100224library/pprint,209,::,"'classifiers': ['Development Status :: 4 - Beta',"
225library/pprint,209,::,"'Intended Audience :: Developers',"
226library/pprint,209,::,"'License :: OSI Approved :: MIT License',"
227library/pprint,209,::,"'Natural Language :: English',"
228library/pprint,209,::,"'Operating System :: OS Independent',"
229library/pprint,209,::,"'Programming Language :: Python',"
230library/pprint,209,::,"'Programming Language :: Python :: 2',"
231library/pprint,209,::,"'Programming Language :: Python :: 2.6',"
232library/pprint,209,::,"'Programming Language :: Python :: 2.7',"
233library/pprint,209,::,"'Topic :: Software Development :: Libraries',"
234library/pprint,209,::,"'Topic :: Software Development :: Libraries :: Python Modules'],"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000235library/profile,,:lineno,filename:lineno(function)
Georg Brandl0e475c32012-03-04 16:22:05 +0100236library/profile,,:lineno,ncalls tottime percall cumtime percall filename:lineno(function)
237library/profile,,:lineno,"(sort by filename:lineno),"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000238library/pyexpat,,:elem1,<py:elem1 />
239library/pyexpat,,:py,"xmlns:py = ""http://www.python.org/ns/"">"
240library/repr,,`,"return `obj`"
241library/smtplib,,:port,"as well as a regular host:port server."
Georg Brandl0e475c32012-03-04 16:22:05 +0100242library/smtplib,,:port,method must support that as well as a regular host:port
243library/socket,,::,"(10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]"
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000244library/socket,,::,'5aef:2b::8'
Georg Brandl0e475c32012-03-04 16:22:05 +0100245library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])"
246library/socket,,:len,fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
247library/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 +0000248library/sqlite3,,:age,"select name_last, age from people where name_last=:who and age=:age"
Georg Brandl0e475c32012-03-04 16:22:05 +0100249library/sqlite3,,:memory,
250library/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 +0000251library/ssl,,:My,"Organizational Unit Name (eg, section) []:My Group"
Georg Brandl0e475c32012-03-04 16:22:05 +0100252library/ssl,,:My,"Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc."
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000253library/ssl,,:myserver,"Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com"
254library/ssl,,:MyState,State or Province Name (full name) [Some-State]:MyState
255library/ssl,,:ops,Email Address []:ops@myserver.mygroup.myorganization.com
256library/ssl,,:Some,"Locality Name (eg, city) []:Some City"
257library/ssl,,:US,Country Name (2 letter code) [AU]:US
Georg Brandl0e475c32012-03-04 16:22:05 +0100258library/stdtypes,,::,>>> a[::-1].tolist()
259library/stdtypes,,::,>>> a[::2].tolist()
260library/stdtypes,,:end,s[start:end]
261library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000262library/stdtypes,,:len,s[len(s):len(s)]
Georg Brandl0e475c32012-03-04 16:22:05 +0100263library/stdtypes,,::,>>> y = m[::2]
Georg Brandld183f0b2012-08-25 12:14:59 +0200264library/stdtypes,,::,>>> z = y[::-2]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000265library/string,,:end,s[start:end]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000266library/subprocess,,`,"output=`dmesg | grep hda`"
Georg Brandl0e475c32012-03-04 16:22:05 +0100267library/subprocess,,`,"output=`mycmd myarg`"
268library/tarfile,,:bz2,
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000269library/tarfile,,:compression,filemode[:compression]
270library/tarfile,,:gz,
Georg Brandl0e475c32012-03-04 16:22:05 +0100271library/tarfile,,:xz,'a:xz'
272library/tarfile,,:xz,'r:xz'
273library/tarfile,,:xz,'w:xz'
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000274library/time,,:mm,
275library/time,,:ss,
276library/turtle,,::,Example::
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000277library/urllib2,,:password,"""joe:password@python.org"""
Georg Brandl0e475c32012-03-04 16:22:05 +0100278library/urllib,,:port,:port
279library/urllib.request,,:close,Connection:close
280library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
281library/urllib.request,,:password,"""joe:password@python.org"""
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000282library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678
Georg Brandl0e475c32012-03-04 16:22:05 +0100283library/xmlrpc.client,,:pass,http://user:pass@host:port/path
284library/xmlrpc.client,,:pass,user:pass
285library/xmlrpc.client,,:port,http://user:pass@host:port/path
286license,,`,"``Software''), to deal in the Software without restriction, including"
287license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
288license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
289license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
290license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000291license,,`,THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
292license,,:zooko,mailto:zooko@zooko.com
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000293reference/datamodel,,:max,
Georg Brandl0e475c32012-03-04 16:22:05 +0100294reference/datamodel,,:step,a[i:j:step]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000295reference/expressions,,:datum,{key:datum...}
296reference/expressions,,`,`expressions...`
Georg Brandl0e475c32012-03-04 16:22:05 +0100297reference/expressions,,:index,x[index:index]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000298reference/grammar,,:output,#diagram:output
299reference/grammar,,:rules,#diagram:rules
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000300reference/grammar,,`,'`' testlist1 '`'
Georg Brandl0e475c32012-03-04 16:22:05 +0100301reference/grammar,,:token,#diagram:token
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000302reference/lexical_analysis,,`,", : . ` = ;"
Georg Brandl0e475c32012-03-04 16:22:05 +0100303reference/lexical_analysis,,`,$ ? `
304reference/lexical_analysis,,:fileencoding,# vim:fileencoding=<encoding-name>
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000305tutorial/datastructures,,:value,It is also possible to delete a key:value
Georg Brandl0e475c32012-03-04 16:22:05 +0100306tutorial/datastructures,,:value,key:value pairs within the braces adds initial key:value pairs
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000307tutorial/stdlib2,,:config,"logging.warning('Warning:config file %s not found', 'server.conf')"
308tutorial/stdlib2,,:config,WARNING:root:Warning:config file server.conf not found
309tutorial/stdlib2,,:Critical,CRITICAL:root:Critical error -- shutting down
310tutorial/stdlib2,,:Error,ERROR:root:Error occurred
311tutorial/stdlib2,,:root,CRITICAL:root:Critical error -- shutting down
312tutorial/stdlib2,,:root,ERROR:root:Error occurred
313tutorial/stdlib2,,:root,WARNING:root:Warning:config file server.conf not found
Georg Brandl0e475c32012-03-04 16:22:05 +0100314tutorial/stdlib2,,:start,extra = data[start:start+extra_size]
315tutorial/stdlib2,,:start,"fields = struct.unpack('<IIIHH', data[start:start+16])"
316tutorial/stdlib2,,:start,filename = data[start:start+filenamesize]
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000317tutorial/stdlib2,,:Warning,WARNING:root:Warning:config file server.conf not found
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000318using/cmdline,,:category,action:message:category:module:line
Georg Brandl0e475c32012-03-04 16:22:05 +0100319using/cmdline,,:errorhandler,:errorhandler
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000320using/cmdline,,:line,action:message:category:module:line
Georg Brandl0e475c32012-03-04 16:22:05 +0100321using/cmdline,,:line,file:line: category: message
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000322using/cmdline,,:message,action:message:category:module:line
323using/cmdline,,:module,action:message:category:module:line
Benjamin Peterson28d88b42009-01-09 03:03:23 +0000324whatsnew/2.0,418,:len,
325whatsnew/2.3,,::,
326whatsnew/2.3,,:config,
327whatsnew/2.3,,:Critical,
328whatsnew/2.3,,:Error,
329whatsnew/2.3,,:Problem,
330whatsnew/2.3,,:root,
331whatsnew/2.3,,:Warning,
332whatsnew/2.4,,::,
333whatsnew/2.4,,:System,
334whatsnew/2.5,,:memory,:memory:
335whatsnew/2.5,,:step,[start:stop:step]
336whatsnew/2.5,,:stop,[start:stop:step]
Georg Brandl19b3e002010-10-06 10:35:24 +0000337whatsnew/2.7,1619,::,"ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100338whatsnew/2.7,1619,::,>>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
339whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
340whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0"
341whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"
Georg Brandl14927d02011-02-20 10:22:41 +0000342whatsnew/3.2,,:affe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100343whatsnew/3.2,,:affe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
344whatsnew/3.2,,:beef,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
345whatsnew/3.2,,:beef,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
346whatsnew/3.2,,:cafe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
347whatsnew/3.2,,:cafe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
Georg Brandl14927d02011-02-20 10:22:41 +0000348whatsnew/3.2,,:deaf,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100349whatsnew/3.2,,:deaf,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
350whatsnew/3.2,,:directory,... ${buildout:directory}/downloads/dist
351whatsnew/3.2,,:directory,${buildout:directory}/downloads/dist
352whatsnew/3.2,,::,"$ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::'"
Georg Brandl14927d02011-02-20 10:22:41 +0000353whatsnew/3.2,,:feed,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
Georg Brandl0e475c32012-03-04 16:22:05 +0100354whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
355whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:"
356whatsnew/3.2,,:location,... zope9-location = ${zope9:location}
357whatsnew/3.2,,:location,zope9-location = ${zope9:location}
358whatsnew/3.2,,:prefix,... zope-conf = ${custom:prefix}/etc/zope.conf
359whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf