mirror of https://github.com/python/cpython
22 KiB
22 KiB
1 | c-api/arg | :ref | PyArg_ParseTuple(args, "O|O:ref", &object, &callback) | |
---|---|---|---|---|
2 | c-api/list | :high | list[low:high] | |
3 | c-api/list | :high | list[low:high] = itemlist | |
4 | c-api/sequence | :i2 | del o[i1:i2] | |
5 | c-api/sequence | :i2 | o[i1:i2] | |
6 | c-api/sequence | :i2 | o[i1:i2] = v | |
7 | c-api/unicode | :end | str[start:end] | |
8 | c-api/unicode | :start | unicode[start:start+length] | |
9 | distutils/examples | 267 | ` | This is the description of the ``foobar`` package. |
10 | distutils/setupscript | :: | ||
11 | extending/embedding | :numargs | if(!PyArg_ParseTuple(args, ":numargs")) | |
12 | extending/extending | :myfunction | PyArg_ParseTuple(args, "D:myfunction", &c); | |
13 | extending/extending | :set | if (PyArg_ParseTuple(args, "O:set_callback", &temp)) { | |
14 | extending/newtypes | :call | if (!PyArg_ParseTuple(args, "sss:call", &arg1, &arg2, &arg3)) { | |
15 | extending/windows | :initspam | /export:initspam | |
16 | 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( | |
17 | faq/programming | :: | for x in sequence[::-1]: | |
18 | faq/programming | :reduce | print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y, | |
19 | faq/programming | :reduce | Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro, | |
20 | faq/windows | 229 | :EOF | @setlocal enableextensions & python -x %~f0 %* & goto :EOF |
21 | faq/windows | 393 | :REG | .py :REG_SZ: c:\<path to python>\python.exe -u %s %s |
22 | howto/cporting | :add | if (!PyArg_ParseTuple(args, "ii:add_ints", &one, &two)) | |
23 | howto/cporting | :encode | if (!PyArg_ParseTuple(args, "O:encode_object", &myobj)) | |
24 | howto/cporting | :say | if (!PyArg_ParseTuple(args, "U:say_hello", &name)) | |
25 | howto/curses | :black | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
26 | howto/curses | :blue | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
27 | howto/curses | :cyan | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
28 | howto/curses | :green | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
29 | howto/curses | :magenta | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
30 | howto/curses | :red | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
31 | howto/curses | :white | 7:white. | |
32 | howto/curses | :yellow | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
33 | howto/ipaddress | :DB8 | >>> ipaddress.ip_address('2001:DB8::1') | |
34 | howto/ipaddress | :: | >>> ipaddress.ip_address('2001:DB8::1') | |
35 | howto/ipaddress | :db8 | IPv6Address('2001:db8::1') | |
36 | howto/ipaddress | :: | IPv6Address('2001:db8::1') | |
37 | howto/ipaddress | :db8 | IPv6Address('2001:db8::1') | |
38 | howto/ipaddress | :: | IPv6Address('2001:db8::1') | |
39 | howto/ipaddress | :: | IPv6Address('::1') | |
40 | howto/ipaddress | :db8 | >>> ipaddress.ip_network('2001:db8::0/96') | |
41 | howto/ipaddress | :: | >>> ipaddress.ip_network('2001:db8::0/96') | |
42 | howto/ipaddress | :db8 | IPv6Network('2001:db8::/96') | |
43 | howto/ipaddress | :: | IPv6Network('2001:db8::/96') | |
44 | howto/ipaddress | :db8 | IPv6Network('2001:db8::/128') | |
45 | howto/ipaddress | :: | IPv6Network('2001:db8::/128') | |
46 | howto/ipaddress | :db8 | >>> ipaddress.ip_network('2001:db8::1/96') | |
47 | howto/ipaddress | :: | >>> ipaddress.ip_network('2001:db8::1/96') | |
48 | howto/ipaddress | :db8 | IPv6Interface('2001:db8::1/96') | |
49 | howto/ipaddress | :: | IPv6Interface('2001:db8::1/96') | |
50 | howto/ipaddress | :db8 | >>> addr6 = ipaddress.ip_address('2001:db8::1') | |
51 | howto/ipaddress | :: | >>> addr6 = ipaddress.ip_address('2001:db8::1') | |
52 | howto/ipaddress | :db8 | >>> host6 = ipaddress.ip_interface('2001:db8::1/96') | |
53 | howto/ipaddress | :: | >>> host6 = ipaddress.ip_interface('2001:db8::1/96') | |
54 | howto/ipaddress | :db8 | IPv6Network('2001:db8::/96') | |
55 | howto/ipaddress | :: | IPv6Network('2001:db8::/96') | |
56 | howto/ipaddress | :db8 | >>> net6 = ipaddress.ip_network('2001:db8::0/96') | |
57 | howto/ipaddress | :: | >>> net6 = ipaddress.ip_network('2001:db8::0/96') | |
58 | howto/ipaddress | :db8 | >>> net6 = ipaddress.ip_network('2001:db8::0/96') | |
59 | howto/ipaddress | :: | >>> net6 = ipaddress.ip_network('2001:db8::0/96') | |
60 | howto/ipaddress | :ffff | IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') | |
61 | howto/ipaddress | :: | IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') | |
62 | howto/ipaddress | :: | IPv6Address('::ffff:ffff') | |
63 | howto/ipaddress | :ffff | IPv6Address('::ffff:ffff') | |
64 | howto/ipaddress | :: | IPv6Address('2001::1') | |
65 | howto/ipaddress | :: | IPv6Address('2001::ffff:ffff') | |
66 | howto/ipaddress | :ffff | IPv6Address('2001::ffff:ffff') | |
67 | howto/ipaddress | :db8 | '2001:db8::' | |
68 | howto/ipaddress | :: | '2001:db8::' | |
69 | howto/ipaddress | :db8 | '2001:db8::/96' | |
70 | howto/ipaddress | :: | '2001:db8::/96' | |
71 | howto/logging | :And | WARNING:And this, too | |
72 | howto/logging | :And | WARNING:root:And this, too | |
73 | howto/logging | :Doing | INFO:root:Doing something | |
74 | howto/logging | :Finished | INFO:root:Finished | |
75 | howto/logging | :logger | severity:logger name:message | |
76 | howto/logging | :Look | WARNING:root:Look before you leap! | |
77 | howto/logging | :message | severity:logger name:message | |
78 | howto/logging | :root | DEBUG:root:This message should go to the log file | |
79 | howto/logging | :root | INFO:root:Doing something | |
80 | howto/logging | :root | INFO:root:Finished | |
81 | howto/logging | :root | INFO:root:So should this | |
82 | howto/logging | :root | INFO:root:Started | |
83 | howto/logging | :root | WARNING:root:And this, too | |
84 | howto/logging | :root | WARNING:root:Look before you leap! | |
85 | howto/logging | :root | WARNING:root:Watch out! | |
86 | howto/logging | :So | INFO:root:So should this | |
87 | howto/logging | :So | INFO:So should this | |
88 | howto/logging | :Started | INFO:root:Started | |
89 | howto/logging | :This | DEBUG:root:This message should go to the log file | |
90 | howto/logging | :This | DEBUG:This message should appear on the console | |
91 | howto/logging | :Watch | WARNING:root:Watch out! | |
92 | howto/pyporting | 75 | :: | # make sure to use :: Python *and* :: Python :: 3 so |
93 | howto/pyporting | 75 | :: | 'Programming Language :: Python', |
94 | howto/pyporting | 75 | :: | 'Programming Language :: Python :: 3' |
95 | howto/regex | :: | ||
96 | howto/regex | :foo | (?:foo) | |
97 | howto/urllib2 | :example | for example "joe@password:example.com" | |
98 | howto/webservers | .. image: | .. image:: http.png | |
99 | library/audioop | :ipos | # factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)], | |
100 | library/bisect | 32 | :hi | all(val >= x for val in a[i:hi]) |
101 | library/bisect | 42 | :hi | all(val > x for val in a[i:hi]) |
102 | library/configparser | :home | my_dir: ${Common:home_dir}/twosheds | |
103 | library/configparser | :option | ${section:option} | |
104 | library/configparser | :path | python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} | |
105 | library/configparser | :Python | python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} | |
106 | library/configparser | ` | # Set the optional `raw` argument of get() to True if you wish to disable | |
107 | library/configparser | :system | path: ${Common:system_dir}/Library/Frameworks/ | |
108 | library/configparser | ` | # The optional `fallback` argument can be used to provide a fallback value | |
109 | library/configparser | ` | # The optional `vars` argument is a dict with members that will take | |
110 | library/datetime | :MM | ||
111 | library/datetime | :SS | ||
112 | library/decimal | :optional | trailneg:optional trailing minus indicator | |
113 | library/difflib | :ahi | a[alo:ahi] | |
114 | library/difflib | :bhi | b[blo:bhi] | |
115 | library/difflib | :i1 | ||
116 | library/difflib | :i2 | ||
117 | library/difflib | :j2 | ||
118 | library/dis | :TOS | ||
119 | library/dis | ` | TOS = `TOS` | |
120 | library/doctest | ` | ``factorial`` from the ``example`` module: | |
121 | library/doctest | ` | The ``example`` module | |
122 | library/doctest | ` | Using ``factorial`` | |
123 | library/functions | :step | a[start:stop:step] | |
124 | library/functions | :stop | a[start:stop, i] | |
125 | library/functions | :stop | a[start:stop:step] | |
126 | library/hotshot | :lineno | ncalls tottime percall cumtime percall filename:lineno(function) | |
127 | library/http.client | :port | host:port | |
128 | library/http.cookies | ` | !#$%&'*+-.^_`|~: | |
129 | library/imaplib | :MM | "DD-Mmm-YYYY HH:MM:SS | |
130 | library/imaplib | :SS | "DD-Mmm-YYYY HH:MM:SS | |
131 | library/inspect | :int | >>> def foo(a, *, b:int, **kwargs): | |
132 | library/inspect | :int | '(a, *, b:int, **kwargs)' | |
133 | library/inspect | :int | 'b:int' | |
134 | library/ipaddress | :db8 | >>> ipaddress.ip_address('2001:db8::') | |
135 | library/ipaddress | :: | >>> ipaddress.ip_address('2001:db8::') | |
136 | library/ipaddress | :db8 | IPv6Address('2001:db8::') | |
137 | library/ipaddress | :: | IPv6Address('2001:db8::') | |
138 | library/ipaddress | :db8 | >>> ipaddress.IPv6Address('2001:db8::1000') | |
139 | library/ipaddress | :: | >>> ipaddress.IPv6Address('2001:db8::1000') | |
140 | library/ipaddress | :db8 | IPv6Address('2001:db8::1000') | |
141 | library/ipaddress | :: | IPv6Address('2001:db8::1000') | |
142 | library/ipaddress | :db8 | >>> ipaddress.IPv6Interface('2001:db8::1000/96') | |
143 | library/ipaddress | :: | >>> ipaddress.IPv6Interface('2001:db8::1000/96') | |
144 | library/ipaddress | :db8 | IPv6Interface('2001:db8::1000/96') | |
145 | library/ipaddress | :: | IPv6Interface('2001:db8::1000/96') | |
146 | library/ipaddress | :db8 | >>> ipaddress.IPv6Interface('2001:db8::1000/96').network | |
147 | library/ipaddress | :: | >>> ipaddress.IPv6Interface('2001:db8::1000/96').network | |
148 | library/ipaddress | :db8 | IPv6Network('2001:db8::/96') | |
149 | library/ipaddress | :: | IPv6Network('2001:db8::/96') | |
150 | library/ipaddress | :db8 | >>> ipaddress.IPv6Network('2001:db8::/96') | |
151 | library/ipaddress | :: | >>> ipaddress.IPv6Network('2001:db8::/96') | |
152 | library/ipaddress | :db8 | IPv6Network('2001:db8::/96') | |
153 | library/ipaddress | :: | IPv6Network('2001:db8::/96') | |
154 | library/ipaddress | :db8 | >>> ipaddress.IPv6Network('2001:db8::/96').netmask | |
155 | library/ipaddress | :: | >>> ipaddress.IPv6Network('2001:db8::/96').netmask | |
156 | library/ipaddress | :ffff | IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') | |
157 | library/ipaddress | :: | IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') | |
158 | library/ipaddress | :db8 | >>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False) | |
159 | library/ipaddress | :: | >>> ipaddress.IPv6Network('2001:db8::1000/96', strict=False) | |
160 | library/ipaddress | :: | "::abc:7:def" | |
161 | library/ipaddress | :def | "::abc:7:def" | |
162 | library/ipaddress | :: | ::FFFF/96 | |
163 | library/ipaddress | :: | 2002::/16 | |
164 | library/ipaddress | :: | 2001::/32 | |
165 | library/ipaddress | :: | >>> str(ipaddress.IPv6Address('::1')) | |
166 | library/ipaddress | :: | '::1' | |
167 | library/ipaddress | :: | >>> int(ipaddress.IPv6Address('::1')) | |
168 | library/ipaddress | :ff00 | ffff:ff00:: | |
169 | library/ipaddress | :db00 | 2001:db00::0/24 | |
170 | library/ipaddress | :: | 2001:db00::0/24 | |
171 | library/ipaddress | :db00 | 2001:db00::0/ffff:ff00:: | |
172 | library/ipaddress | :: | 2001:db00::0/ffff:ff00:: | |
173 | library/ipaddress | :ff00 | 2001:db00::0/ffff:ff00:: | |
174 | library/itertools | :step | elements from seq[start:stop:step] | |
175 | library/itertools | :stop | elements from seq[start:stop:step] | |
176 | library/linecache | :sys | sys:x:3:3:sys:/dev:/bin/sh | |
177 | library/logging | :And | ||
178 | library/logging | :Doing | INFO:root:Doing something | |
179 | library/logging | :Finished | INFO:root:Finished | |
180 | library/logging | :logger | severity:logger name:message | |
181 | library/logging | :Look | WARNING:root:Look before you leap! | |
182 | library/logging | :message | severity:logger name:message | |
183 | library/logging | :package1 | ||
184 | library/logging | :package2 | ||
185 | library/logging | :port | host:port | |
186 | library/logging | :root | ||
187 | library/logging | :So | INFO:root:So should this | |
188 | library/logging | :So | INFO:So should this | |
189 | library/logging | :Started | INFO:root:Started | |
190 | library/logging | :This | ||
191 | library/logging | :Watch | WARNING:root:Watch out! | |
192 | library/logging.handlers | :port | host:port | |
193 | library/mmap | :i2 | obj[i1:i2] | |
194 | library/multiprocessing | ` | # Add more tasks using `put()` | |
195 | library/multiprocessing | ` | # A test file for the `multiprocessing` package | |
196 | library/multiprocessing | ` | # A test of `multiprocessing.Pool` class | |
197 | library/multiprocessing | ` | # `BaseManager`. | |
198 | library/multiprocessing | ` | `Cluster` is a subclass of `SyncManager` so it allows creation of | |
199 | library/multiprocessing | ` | # create server for a `HostManager` object | |
200 | library/multiprocessing | ` | # Depends on `multiprocessing` package -- tested with `processing-0.60` | |
201 | library/multiprocessing | ` | `hostname` gives the name of the host. If hostname is not | |
202 | library/multiprocessing | ` | # in the original order then consider using `Pool.map()` or | |
203 | library/multiprocessing | ` | >>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]` | |
204 | library/multiprocessing | ` | >>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]` | |
205 | library/multiprocessing | ` | # Not sure if we should synchronize access to `socket.accept()` method by | |
206 | library/multiprocessing | ` | # object. (We import `multiprocessing.reduction` to enable this pickling.) | |
207 | library/multiprocessing | ` | # `Pool.imap()` (which will save on the amount of code needed anyway). | |
208 | library/multiprocessing | :queue | >>> QueueManager.register('get_queue', callable=lambda:queue) | |
209 | library/multiprocessing | ` | # register the Foo class; make `f()` and `g()` accessible via proxy | |
210 | library/multiprocessing | ` | # register the Foo class; make `g()` and `_h()` accessible via proxy | |
211 | library/multiprocessing | ` | # register the generator function baz; use `GeneratorProxy` to make proxies | |
212 | library/multiprocessing | ` | `slots` is used to specify the number of slots for processes on | |
213 | library/nntplib | :bytes | :bytes | |
214 | library/nntplib | :bytes | ['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject'] | |
215 | library/nntplib | :lines | :lines | |
216 | library/nntplib | :lines | ['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject'] | |
217 | library/optparse | :len | del parser.rargs[:len(value)] | |
218 | library/os.path | :foo | c:foo | |
219 | library/parser | ` | "Make a function that raises an argument to the exponent `exp`." | |
220 | library/pdb | :lineno | filename:lineno | |
221 | library/pdb | :lineno | [filename:lineno | bpnumber [bpnumber ...]] | |
222 | library/pickle | :memory | conn = sqlite3.connect(":memory:") | |
223 | library/posix | ` | CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS" | |
224 | library/pprint | 209 | :: | 'classifiers': ['Development Status :: 4 - Beta', |
225 | library/pprint | 209 | :: | 'Intended Audience :: Developers', |
226 | library/pprint | 209 | :: | 'License :: OSI Approved :: MIT License', |
227 | library/pprint | 209 | :: | 'Natural Language :: English', |
228 | library/pprint | 209 | :: | 'Operating System :: OS Independent', |
229 | library/pprint | 209 | :: | 'Programming Language :: Python', |
230 | library/pprint | 209 | :: | 'Programming Language :: Python :: 2', |
231 | library/pprint | 209 | :: | 'Programming Language :: Python :: 2.6', |
232 | library/pprint | 209 | :: | 'Programming Language :: Python :: 2.7', |
233 | library/pprint | 209 | :: | 'Topic :: Software Development :: Libraries', |
234 | library/pprint | 209 | :: | 'Topic :: Software Development :: Libraries :: Python Modules'], |
235 | library/profile | :lineno | filename:lineno(function) | |
236 | library/profile | :lineno | ncalls tottime percall cumtime percall filename:lineno(function) | |
237 | library/profile | :lineno | (sort by filename:lineno), | |
238 | library/pyexpat | :elem1 | <py:elem1 /> | |
239 | library/pyexpat | :py | xmlns:py = "http://www.python.org/ns/"> | |
240 | library/repr | ` | return `obj` | |
241 | library/smtplib | :port | as well as a regular host:port server. | |
242 | library/smtplib | :port | method must support that as well as a regular host:port | |
243 | library/socket | :: | (10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))] | |
244 | library/socket | :: | '5aef:2b::8' | |
245 | library/socket | :can | return (can_id, can_dlc, data[:can_dlc]) | |
246 | library/socket | :len | fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)]) | |
247 | library/sqlite3 | :age | cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age}) | |
248 | library/sqlite3 | :age | select name_last, age from people where name_last=:who and age=:age | |
249 | library/sqlite3 | :memory | ||
250 | library/sqlite3 | :who | cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age}) | |
251 | library/ssl | :My | Organizational Unit Name (eg, section) []:My Group | |
252 | library/ssl | :My | Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc. | |
253 | library/ssl | :myserver | Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com | |
254 | library/ssl | :MyState | State or Province Name (full name) [Some-State]:MyState | |
255 | library/ssl | :ops | Email Address []:ops@myserver.mygroup.myorganization.com | |
256 | library/ssl | :Some | Locality Name (eg, city) []:Some City | |
257 | library/ssl | :US | Country Name (2 letter code) [AU]:US | |
258 | library/stdtypes | :: | >>> a[::-1].tolist() | |
259 | library/stdtypes | :: | >>> a[::2].tolist() | |
260 | library/stdtypes | :end | s[start:end] | |
261 | library/stdtypes | :: | >>> hash(v[::-2]) == hash(b'abcefg'[::-2]) | |
262 | library/stdtypes | :len | s[len(s):len(s)] | |
263 | library/stdtypes | :: | >>> y = m[::2] | |
264 | library/stdtypes | :: | >>> z = y[::-2] | |
265 | library/string | :end | s[start:end] | |
266 | library/subprocess | ` | output=`dmesg | grep hda` | |
267 | library/subprocess | ` | output=`mycmd myarg` | |
268 | library/tarfile | :bz2 | ||
269 | library/tarfile | :compression | filemode[:compression] | |
270 | library/tarfile | :gz | ||
271 | library/tarfile | :xz | 'a:xz' | |
272 | library/tarfile | :xz | 'r:xz' | |
273 | library/tarfile | :xz | 'w:xz' | |
274 | library/time | :mm | ||
275 | library/time | :ss | ||
276 | library/turtle | :: | Example:: | |
277 | library/urllib2 | :password | "joe:password@python.org" | |
278 | library/urllib | :port | :port | |
279 | library/urllib.request | :close | Connection:close | |
280 | library/urllib.request | :lang | xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n | |
281 | library/urllib.request | :password | "joe:password@python.org" | |
282 | library/uuid | :uuid | urn:uuid:12345678-1234-5678-1234-567812345678 | |
283 | library/xmlrpc.client | :pass | http://user:pass@host:port/path | |
284 | library/xmlrpc.client | :pass | user:pass | |
285 | library/xmlrpc.client | :port | http://user:pass@host:port/path | |
286 | license | ` | ``Software''), to deal in the Software without restriction, including | |
287 | license | ` | THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, | |
288 | license | ` | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | |
289 | license | ` | THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | |
290 | license | ` | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | |
291 | license | ` | THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND | |
292 | license | :zooko | mailto:zooko@zooko.com | |
293 | reference/datamodel | :max | ||
294 | reference/datamodel | :step | a[i:j:step] | |
295 | reference/expressions | :datum | {key:datum...} | |
296 | reference/expressions | ` | `expressions...` | |
297 | reference/expressions | :index | x[index:index] | |
298 | reference/grammar | :output | #diagram:output | |
299 | reference/grammar | :rules | #diagram:rules | |
300 | reference/grammar | ` | '`' testlist1 '`' | |
301 | reference/grammar | :token | #diagram:token | |
302 | reference/lexical_analysis | ` | , : . ` = ; | |
303 | reference/lexical_analysis | ` | $ ? ` | |
304 | reference/lexical_analysis | :fileencoding | # vim:fileencoding=<encoding-name> | |
305 | tutorial/datastructures | :value | It is also possible to delete a key:value | |
306 | tutorial/datastructures | :value | key:value pairs within the braces adds initial key:value pairs | |
307 | tutorial/stdlib2 | :config | logging.warning('Warning:config file %s not found', 'server.conf') | |
308 | tutorial/stdlib2 | :config | WARNING:root:Warning:config file server.conf not found | |
309 | tutorial/stdlib2 | :Critical | CRITICAL:root:Critical error -- shutting down | |
310 | tutorial/stdlib2 | :Error | ERROR:root:Error occurred | |
311 | tutorial/stdlib2 | :root | CRITICAL:root:Critical error -- shutting down | |
312 | tutorial/stdlib2 | :root | ERROR:root:Error occurred | |
313 | tutorial/stdlib2 | :root | WARNING:root:Warning:config file server.conf not found | |
314 | tutorial/stdlib2 | :start | extra = data[start:start+extra_size] | |
315 | tutorial/stdlib2 | :start | fields = struct.unpack('<IIIHH', data[start:start+16]) | |
316 | tutorial/stdlib2 | :start | filename = data[start:start+filenamesize] | |
317 | tutorial/stdlib2 | :Warning | WARNING:root:Warning:config file server.conf not found | |
318 | using/cmdline | :category | action:message:category:module:line | |
319 | using/cmdline | :errorhandler | :errorhandler | |
320 | using/cmdline | :line | action:message:category:module:line | |
321 | using/cmdline | :line | file:line: category: message | |
322 | using/cmdline | :message | action:message:category:module:line | |
323 | using/cmdline | :module | action:message:category:module:line | |
324 | whatsnew/2.0 | 418 | :len | |
325 | whatsnew/2.3 | :: | ||
326 | whatsnew/2.3 | :config | ||
327 | whatsnew/2.3 | :Critical | ||
328 | whatsnew/2.3 | :Error | ||
329 | whatsnew/2.3 | :Problem | ||
330 | whatsnew/2.3 | :root | ||
331 | whatsnew/2.3 | :Warning | ||
332 | whatsnew/2.4 | :: | ||
333 | whatsnew/2.4 | :System | ||
334 | whatsnew/2.5 | :memory | :memory: | |
335 | whatsnew/2.5 | :step | [start:stop:step] | |
336 | whatsnew/2.5 | :stop | [start:stop:step] | |
337 | whatsnew/2.7 | 1619 | :: | ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]', |
338 | whatsnew/2.7 | 1619 | :: | >>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo') |
339 | whatsnew/2.7 | 735 | :Sunday | '2009:4:Sunday' |
340 | whatsnew/2.7 | 862 | :Cookie | export PYTHONWARNINGS=all,error:::Cookie:0 |
341 | whatsnew/2.7 | 862 | :: | export PYTHONWARNINGS=all,error:::Cookie:0 |
342 | whatsnew/3.2 | :affe | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
343 | whatsnew/3.2 | :affe | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
344 | whatsnew/3.2 | :beef | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
345 | whatsnew/3.2 | :beef | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
346 | whatsnew/3.2 | :cafe | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
347 | whatsnew/3.2 | :cafe | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
348 | whatsnew/3.2 | :deaf | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
349 | whatsnew/3.2 | :deaf | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
350 | whatsnew/3.2 | :directory | ... ${buildout:directory}/downloads/dist | |
351 | whatsnew/3.2 | :directory | ${buildout:directory}/downloads/dist | |
352 | whatsnew/3.2 | :: | $ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::' | |
353 | whatsnew/3.2 | :feed | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
354 | whatsnew/3.2 | :feed | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
355 | whatsnew/3.2 | :gz | >>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf: | |
356 | whatsnew/3.2 | :location | ... zope9-location = ${zope9:location} | |
357 | whatsnew/3.2 | :location | zope9-location = ${zope9:location} | |
358 | whatsnew/3.2 | :prefix | ... zope-conf = ${custom:prefix}/etc/zope.conf | |
359 | whatsnew/3.2 | :prefix | zope-conf = ${custom:prefix}/etc/zope.conf | |
360 | whatsnew/news | :platform | :platform: | |
361 | whatsnew/news | :password | : Unquote before b64encoding user:password during Basic | |
362 | whatsnew/news | :close | Connection:close header. | |
363 | whatsnew/news | :PythonCmd | With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused | |
364 | whatsnew/news | :close | : Connection:close header is sent by requests using URLOpener | |
365 | whatsnew/news | :: | : Fix FTP tests for IPv6, bind to "::1" instead of "localhost". | |
366 | whatsnew/news | :test | : test_subprocess:test_leaking_fds_on_error no longer gives a | |
367 | whatsnew/news | :test | : Fix test_posix:test_getgroups failure under Solaris. Patch | |
368 | whatsnew/news | :Olimit | Drop -OPT:Olimit compiler option. | |
369 | whatsnew/news | :MAXYEAR | timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range. | |
370 | whatsnew/news | :bz2 | with mode 'r' or 'r:bz2' and a fileobj argument that contained no data or | |
371 | whatsnew/news | :db2 | : Add configure option --with-dbmliborder=db1:db2:... to specify |