1
1
c-api/arg,,:ref,"PyArg_ParseTuple(args, ""O|O:ref"", &object, &callback)"
2
2
c-api/list,,:high,list[low:high]
3
- c-api/list,,:high,list[low:high] = itemlist
4
3
c-api/sequence,,:i2,o[i1:i2]
5
- c-api/sequence,,:i2,o[i1:i2] = v
6
- c-api/sequence,,:i2,del o[i1:i2]
7
4
c-api/unicode,,:end,str[start:end]
8
5
distutils/setupscript,,::,
9
6
extending/embedding,,:numargs,"if(!PyArg_ParseTuple(args, "":numargs""))"
10
7
extending/extending,,:set,"if (PyArg_ParseTuple(args, ""O:set_callback"", &temp)) {"
11
8
extending/extending,,:myfunction,"PyArg_ParseTuple(args, ""D:myfunction"", &c);"
12
9
extending/newtypes,,:call,"if (!PyArg_ParseTuple(args, ""sss:call"", &arg1, &arg2, &arg3)) {"
13
10
extending/windows,,:initspam,/export:initspam
14
- howto/cporting,,:add,"if (!PyArg_ParseTuple(args, ""ii:add_ints"", &one, &two))"
15
11
howto/cporting,,:encode,"if (!PyArg_ParseTuple(args, ""O:encode_object"", &myobj))"
16
12
howto/cporting,,:say,"if (!PyArg_ParseTuple(args, ""U:say_hello"", &name))"
17
13
howto/curses,,:black,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
@@ -46,7 +42,6 @@ howto/logging,,:This,DEBUG:root:This message should go to the log file
46
42
howto/regex,,::,
47
43
howto/regex,,:foo,(?:foo)
48
44
howto/urllib2,,:example,"for example ""joe@password:example.com"""
49
- howto/webservers,,.. image:,.. image:: http.png
50
45
library/audioop,,:ipos,"# factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)],"
51
46
library/cookie,,`,!#$%&'*+-.^_`|~
52
47
library/datetime,,:MM,
@@ -73,12 +68,6 @@ library/imaplib,,:SS,"""DD-Mmm-YYYY HH:MM:SS"
73
68
library/itertools,,:stop,elements from seq[start:stop:step]
74
69
library/itertools,,:step,elements from seq[start:stop:step]
75
70
library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"
76
- library/logging,,:And,
77
- library/logging,,:package1,
78
- library/logging,,:package2,
79
- library/logging,,:root,
80
- library/logging,,:This,
81
- library/logging,,:port,host:port
82
71
library/logging.handlers,,:port,host:port
83
72
library/mmap,,:i2,obj[i1:i2]
84
73
library/multiprocessing,,:queue,">>> QueueManager.register('get_queue', callable=lambda:queue)"
@@ -89,28 +78,20 @@ library/multiprocessing,,`,# `Pool.imap()` (which will save on the amount of cod
89
78
library/multiprocessing,,`,# A test file for the `multiprocessing` package
90
79
library/multiprocessing,,`,# A test of `multiprocessing.Pool` class
91
80
library/multiprocessing,,`,# Add more tasks using `put()`
92
- library/multiprocessing,,`,# create server for a `HostManager` object
93
- library/multiprocessing,,`,# Depends on `multiprocessing` package -- tested with `processing-0.60`
94
81
library/multiprocessing,,`,# in the original order then consider using `Pool.map()` or
95
82
library/multiprocessing,,`,# Not sure if we should synchronize access to `socket.accept()` method by
96
83
library/multiprocessing,,`,# object. (We import `multiprocessing.reduction` to enable this pickling.)
97
84
library/multiprocessing,,`,# register the Foo class; make `f()` and `g()` accessible via proxy
98
85
library/multiprocessing,,`,# register the Foo class; make `g()` and `_h()` accessible via proxy
99
86
library/multiprocessing,,`,# register the generator function baz; use `GeneratorProxy` to make proxies
100
- library/multiprocessing,,`,`Cluster` is a subclass of `SyncManager` so it allows creation of
101
- library/multiprocessing,,`,`hostname` gives the name of the host. If hostname is not
102
- library/multiprocessing,,`,`slots` is used to specify the number of slots for processes on
103
87
library/optparse,,:len,"del parser.rargs[:len(value)]"
104
88
library/os.path,,:foo,c:foo
105
- library/parser,,`,"""Make a function that raises an argument to the exponent `exp`."""
106
- library/pdb,,:lineno,filename:lineno
107
89
library/pdb,,:lineno,filename:lineno
108
90
library/posix,,`,"CFLAGS=""`getconf LFS_CFLAGS`"" OPT=""-g -O2 $CFLAGS"""
109
91
library/profile,,:lineno,ncalls tottime percall cumtime percall filename:lineno(function)
110
92
library/profile,,:lineno,filename:lineno(function)
111
93
library/pyexpat,,:elem1,<py:elem1 />
112
94
library/pyexpat,,:py,"xmlns:py = ""http://www.python.org/ns/"">"
113
- library/repr,,`,"return `obj`"
114
95
library/smtplib,,:port,"as well as a regular host:port server."
115
96
library/socket,,::,'5aef:2b::8'
116
97
library/sqlite3,,:memory,
@@ -124,8 +105,6 @@ library/ssl,,:ops,Email Address []:ops@myserver.mygroup.myorganization.com
124
105
library/ssl,,:Some,"Locality Name (eg, city) []:Some City"
125
106
library/ssl,,:US,Country Name (2 letter code) [AU]:US
126
107
library/stdtypes,,:len,s[len(s):len(s)]
127
- library/stdtypes,,:len,s[len(s):len(s)]
128
- library/string,,:end,s[start:end]
129
108
library/string,,:end,s[start:end]
130
109
library/subprocess,,`,"output=`mycmd myarg`"
131
110
library/subprocess,,`,"output=`dmesg | grep hda`"
@@ -147,13 +126,8 @@ license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AN
147
126
reference/datamodel,,:step,a[i:j:step]
148
127
reference/datamodel,,:max,
149
128
reference/expressions,,:index,x[index:index]
150
- reference/expressions,,:datum,{key:datum...}
151
129
reference/expressions,,`,`expressions...`
152
130
reference/expressions,,`,"""`"""
153
- reference/expressions,,`,"""`"""
154
- reference/grammar,,:output,#diagram:output
155
- reference/grammar,,:rules,#diagram:rules
156
- reference/grammar,,:token,#diagram:token
157
131
reference/grammar,,`,'`' testlist1 '`'
158
132
reference/lexical_analysis,,:fileencoding,# vim:fileencoding=<encoding-name>
159
133
reference/lexical_analysis,,`,", : . ` = ;"
@@ -176,8 +150,6 @@ using/cmdline,,:line,action:message:category:module:line
176
150
using/cmdline,,:message,action:message:category:module:line
177
151
using/cmdline,,:module,action:message:category:module:line
178
152
using/cmdline,,:errorhandler,:errorhandler
179
- using/windows,162,`,`` this fixes syntax highlighting errors in some editors due to the \\\\ hackery
180
- using/windows,170,`,``
181
153
whatsnew/2.0,418,:len,
182
154
whatsnew/2.3,,::,
183
155
whatsnew/2.3,,:config,
@@ -191,30 +163,18 @@ whatsnew/2.4,,:System,
191
163
whatsnew/2.5,,:memory,:memory:
192
164
whatsnew/2.5,,:step,[start:stop:step]
193
165
whatsnew/2.5,,:stop,[start:stop:step]
194
- distutils/examples,267,`,This is the description of the ``foobar`` package.
195
166
faq/programming,,:reduce,"print (lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,"
196
167
faq/programming,,:reduce,"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,"
197
168
faq/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("
198
169
faq/programming,,::,for x in sequence[::-1]:
199
- faq/windows,229,:EOF,@setlocal enableextensions & python -x %~f0 %* & goto :EOF
200
- faq/windows,393,:REG,.py :REG_SZ: c:\<path to python>\python.exe -u %s %s
201
170
library/bisect,,:hi,all(val >= x for val in a[i:hi])
202
171
library/bisect,,:hi,all(val > x for val in a[i:hi])
203
- library/http.client,52,:port,host:port
204
- library/nntplib,,:bytes,:bytes
205
- library/nntplib,,:lines,:lines
206
- library/nntplib,,:lines,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
207
- library/nntplib,,:bytes,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
208
- library/pickle,567,:memory,"conn = sqlite3.connect("":memory:"")"
209
- library/profile,293,:lineno,"(sort by filename:lineno),"
210
172
library/socket,,::,"(10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]"
211
173
library/stdtypes,,:end,s[start:end]
212
- library/stdtypes,,:end,s[start:end]
213
174
license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
214
175
license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
215
176
license,,`,"``Software''), to deal in the Software without restriction, including"
216
177
license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
217
- reference/lexical_analysis,704,`,$ ? `
218
178
whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
219
179
whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"
220
180
whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0"
0 commit comments