20 KiB
20 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/sequence | :i2 | del o[i1:i2] | |
4 | c-api/sequence | :i2 | o[i1:i2] | |
5 | c-api/unicode | :end | str[start:end] | |
6 | c-api/unicode | :start | unicode[start:start+length] | |
7 | distutils/examples | 267 | ` | This is the description of the ``foobar`` package. |
8 | distutils/setupscript | :: | ||
9 | extending/embedding | :numargs | if(!PyArg_ParseTuple(args, ":numargs")) | |
10 | extending/extending | :myfunction | PyArg_ParseTuple(args, "D:myfunction", &c); | |
11 | extending/extending | :set | if (PyArg_ParseTuple(args, "O:set_callback", &temp)) { | |
12 | extending/newtypes | :call | if (!PyArg_ParseTuple(args, "sss:call", &arg1, &arg2, &arg3)) { | |
13 | 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( | |
14 | faq/programming | :: | for x in sequence[::-1]: | |
15 | faq/programming | :reduce | print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y, | |
16 | faq/programming | :reduce | Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro, | |
17 | faq/windows | :bd8afb90ebf2 | Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32 | |
18 | howto/cporting | :encode | if (!PyArg_ParseTuple(args, "O:encode_object", &myobj)) | |
19 | howto/cporting | :say | if (!PyArg_ParseTuple(args, "U:say_hello", &name)) | |
20 | howto/curses | :black | colors when it activates color mode. They are: 0:black, 1:red, | |
21 | howto/curses | :red | colors when it activates color mode. They are: 0:black, 1:red, | |
22 | howto/curses | :green | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
23 | howto/curses | :yellow | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
24 | howto/curses | :blue | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
25 | howto/curses | :magenta | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
26 | howto/curses | :cyan | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
27 | howto/curses | :white | 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The | |
28 | howto/instrumentation | :: | python$target:::function-entry | |
29 | howto/instrumentation | :function | python$target:::function-entry | |
30 | howto/instrumentation | :: | python$target:::function-return | |
31 | howto/instrumentation | :function | python$target:::function-return | |
32 | howto/instrumentation | :call | 156641360502280 function-entry:call_stack.py:start:23 | |
33 | howto/instrumentation | :start | 156641360502280 function-entry:call_stack.py:start:23 | |
34 | howto/instrumentation | :function | 156641360518804 function-entry: call_stack.py:function_1:1 | |
35 | howto/instrumentation | :function | 156641360532797 function-entry: call_stack.py:function_3:9 | |
36 | howto/instrumentation | :function | 156641360546807 function-return: call_stack.py:function_3:10 | |
37 | howto/instrumentation | :function | 156641360563367 function-return: call_stack.py:function_1:2 | |
38 | howto/instrumentation | :function | 156641360578365 function-entry: call_stack.py:function_2:5 | |
39 | howto/instrumentation | :function | 156641360591757 function-entry: call_stack.py:function_1:1 | |
40 | howto/instrumentation | :function | 156641360605556 function-entry: call_stack.py:function_3:9 | |
41 | howto/instrumentation | :function | 156641360617482 function-return: call_stack.py:function_3:10 | |
42 | howto/instrumentation | :function | 156641360629814 function-return: call_stack.py:function_1:2 | |
43 | howto/instrumentation | :function | 156641360642285 function-return: call_stack.py:function_2:6 | |
44 | howto/instrumentation | :function | 156641360656770 function-entry: call_stack.py:function_3:9 | |
45 | howto/instrumentation | :function | 156641360669707 function-return: call_stack.py:function_3:10 | |
46 | howto/instrumentation | :function | 156641360687853 function-entry: call_stack.py:function_4:13 | |
47 | howto/instrumentation | :function | 156641360700719 function-return: call_stack.py:function_4:14 | |
48 | howto/instrumentation | :function | 156641360719640 function-entry: call_stack.py:function_5:18 | |
49 | howto/instrumentation | :function | 156641360732567 function-return: call_stack.py:function_5:21 | |
50 | howto/instrumentation | :call | 156641360747370 function-return:call_stack.py:start:28 | |
51 | howto/instrumentation | :start | 156641360747370 function-return:call_stack.py:start:28 | |
52 | howto/ipaddress | :DB8 | >>> ipaddress.ip_address('2001:DB8::1') | |
53 | howto/ipaddress | :: | >>> ipaddress.ip_address('2001:DB8::1') | |
54 | howto/ipaddress | :db8 | IPv6Address('2001:db8::1') | |
55 | howto/ipaddress | :: | IPv6Address('2001:db8::1') | |
56 | howto/ipaddress | :: | IPv6Address('::1') | |
57 | howto/ipaddress | :db8 | >>> ipaddress.ip_network('2001:db8::0/96') | |
58 | howto/ipaddress | :: | >>> ipaddress.ip_network('2001:db8::0/96') | |
59 | howto/ipaddress | :db8 | IPv6Network('2001:db8::/96') | |
60 | howto/ipaddress | :: | IPv6Network('2001:db8::/96') | |
61 | howto/ipaddress | :db8 | IPv6Network('2001:db8::/128') | |
62 | howto/ipaddress | :: | IPv6Network('2001:db8::/128') | |
63 | howto/ipaddress | :db8 | IPv6Interface('2001:db8::1/96') | |
64 | howto/ipaddress | :: | IPv6Interface('2001:db8::1/96') | |
65 | howto/ipaddress | :db8 | >>> addr6 = ipaddress.ip_address('2001:db8::1') | |
66 | howto/ipaddress | :: | >>> addr6 = ipaddress.ip_address('2001:db8::1') | |
67 | howto/ipaddress | :db8 | >>> host6 = ipaddress.ip_interface('2001:db8::1/96') | |
68 | howto/ipaddress | :: | >>> host6 = ipaddress.ip_interface('2001:db8::1/96') | |
69 | howto/ipaddress | :db8 | >>> net6 = ipaddress.ip_network('2001:db8::0/96') | |
70 | howto/ipaddress | :: | >>> net6 = ipaddress.ip_network('2001:db8::0/96') | |
71 | howto/ipaddress | :ffff | IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') | |
72 | howto/ipaddress | :: | IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') | |
73 | howto/ipaddress | :: | IPv6Address('::ffff:ffff') | |
74 | howto/ipaddress | :ffff | IPv6Address('::ffff:ffff') | |
75 | howto/ipaddress | :db8 | '2001:db8::/96' | |
76 | howto/ipaddress | :: | '2001:db8::/96' | |
77 | howto/ipaddress | :db8 | >>> ipaddress.ip_interface('2001:db8::1/96') | |
78 | howto/ipaddress | :: | >>> ipaddress.ip_interface('2001:db8::1/96') | |
79 | howto/ipaddress | :db8 | '2001:db8::1' | |
80 | howto/ipaddress | :: | '2001:db8::1' | |
81 | howto/ipaddress | :db8 | IPv6Address('2001:db8::ffff:ffff') | |
82 | howto/ipaddress | :: | IPv6Address('2001:db8::ffff:ffff') | |
83 | howto/ipaddress | :ffff | IPv6Address('2001:db8::ffff:ffff') | |
84 | howto/logging | :And | WARNING:And this, too | |
85 | howto/logging | :And | WARNING:root:And this, too | |
86 | howto/logging | :Doing | INFO:root:Doing something | |
87 | howto/logging | :Finished | INFO:root:Finished | |
88 | howto/logging | :logger | severity:logger name:message | |
89 | howto/logging | :Look | WARNING:root:Look before you leap! | |
90 | howto/logging | :message | severity:logger name:message | |
91 | howto/logging | :root | DEBUG:root:This message should go to the log file | |
92 | howto/logging | :root | INFO:root:Doing something | |
93 | howto/logging | :root | INFO:root:Finished | |
94 | howto/logging | :root | INFO:root:So should this | |
95 | howto/logging | :root | INFO:root:Started | |
96 | howto/logging | :root | WARNING:root:And this, too | |
97 | howto/logging | :root | WARNING:root:Look before you leap! | |
98 | howto/logging | :root | WARNING:root:Watch out! | |
99 | howto/logging | :So | INFO:root:So should this | |
100 | howto/logging | :So | INFO:So should this | |
101 | howto/logging | :Started | INFO:root:Started | |
102 | howto/logging | :This | DEBUG:root:This message should go to the log file | |
103 | howto/logging | :This | DEBUG:This message should appear on the console | |
104 | howto/logging | :Watch | WARNING:root:Watch out! | |
105 | howto/pyporting | :: | Programming Language :: Python :: 2 | |
106 | howto/pyporting | :: | Programming Language :: Python :: 3 | |
107 | howto/regex | :: | ||
108 | howto/regex | :foo | (?:foo) | |
109 | howto/urllib2 | :password | for example "joe:password@example.com" | |
110 | library/audioop | :ipos | # factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)], | |
111 | library/bisect | 32 | :hi | all(val >= x for val in a[i:hi]) |
112 | library/bisect | 42 | :hi | all(val > x for val in a[i:hi]) |
113 | library/configparser | :home | my_dir: ${Common:home_dir}/twosheds | |
114 | library/configparser | :option | ${section:option} | |
115 | library/configparser | :path | python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} | |
116 | library/configparser | :Python | python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} | |
117 | library/configparser | :system | path: ${Common:system_dir}/Library/Frameworks/ | |
118 | library/datetime | :MM | ||
119 | library/datetime | :SS | ||
120 | library/decimal | :optional | trailneg:optional trailing minus indicator | |
121 | library/difflib | :ahi | a[alo:ahi] | |
122 | library/difflib | :bhi | b[blo:bhi] | |
123 | library/difflib | :i1 | ||
124 | library/difflib | :i2 | ||
125 | library/difflib | :j2 | ||
126 | library/doctest | ` | ``factorial`` from the ``example`` module: | |
127 | library/doctest | ` | The ``example`` module | |
128 | library/doctest | ` | Using ``factorial`` | |
129 | library/exceptions | :err | err.object[err.start:err.end] | |
130 | library/functions | :step | a[start:stop:step] | |
131 | library/functions | :stop | a[start:stop, i] | |
132 | library/functions | :stop | a[start:stop:step] | |
133 | library/hashlib-blake2 | :vatrogasac | >>> cookie = b'user:vatrogasac' | |
134 | library/hashlib-blake2 | :vatrogasac | user:vatrogasac,349cf904533767ed2d755279a8df84d0 | |
135 | library/hashlib-blake2 | :policajac | >>> compare_digest(b'user:policajac', sig) | |
136 | library/hashlib-blake2 | :LEAF | h00 = blake2b(buf[0:LEAF_SIZE], fanout=FANOUT, depth=DEPTH, | |
137 | library/http.client | :port | host:port | |
138 | library/http.cookies | ` | !#$%&'*+-.^_`|~: | |
139 | library/imaplib | :MM | "DD-Mmm-YYYY HH:MM:SS | |
140 | library/imaplib | :SS | "DD-Mmm-YYYY HH:MM:SS | |
141 | library/inspect | :int | >>> def foo(a, *, b:int, **kwargs): | |
142 | library/inspect | :int | '(a, *, b:int, **kwargs)' | |
143 | library/inspect | :int | 'b:int' | |
144 | library/ipaddress | :db8 | >>> ipaddress.ip_address('2001:db8::') | |
145 | library/ipaddress | :: | >>> ipaddress.ip_address('2001:db8::') | |
146 | library/ipaddress | :db8 | IPv6Address('2001:db8::') | |
147 | library/ipaddress | :: | IPv6Address('2001:db8::') | |
148 | library/ipaddress | :db8 | >>> ipaddress.IPv6Address('2001:db8::1000') | |
149 | library/ipaddress | :: | >>> ipaddress.IPv6Address('2001:db8::1000') | |
150 | library/ipaddress | :db8 | IPv6Address('2001:db8::1000') | |
151 | library/ipaddress | :: | IPv6Address('2001:db8::1000') | |
152 | library/ipaddress | :db8 | >>> ipaddress.ip_address("2001:db8::1").reverse_pointer | |
153 | library/ipaddress | :: | >>> ipaddress.ip_address("2001:db8::1").reverse_pointer | |
154 | library/ipaddress | :: | "::abc:7:def" | |
155 | library/ipaddress | :def | "::abc:7:def" | |
156 | library/ipaddress | :: | ::FFFF/96 | |
157 | library/ipaddress | :: | 2002::/16 | |
158 | library/ipaddress | :: | 2001::/32 | |
159 | library/ipaddress | :: | >>> str(ipaddress.IPv6Address('::1')) | |
160 | library/ipaddress | :: | '::1' | |
161 | library/ipaddress | :ff00 | ffff:ff00:: | |
162 | library/ipaddress | :db00 | 2001:db00::0/24 | |
163 | library/ipaddress | :: | 2001:db00::0/24 | |
164 | library/ipaddress | :db00 | 2001:db00::0/ffff:ff00:: | |
165 | library/ipaddress | :: | 2001:db00::0/ffff:ff00:: | |
166 | library/itertools | :step | elements from seq[start:stop:step] | |
167 | library/itertools | :stop | elements from seq[start:stop:step] | |
168 | library/logging.handlers | :port | host:port | |
169 | library/mmap | :i2 | obj[i1:i2] | |
170 | library/multiprocessing | ` | # Add more tasks using `put()` | |
171 | library/multiprocessing | :queue | >>> QueueManager.register('get_queue', callable=lambda:queue) | |
172 | library/multiprocessing | ` | # register the Foo class; make `f()` and `g()` accessible via proxy | |
173 | library/multiprocessing | ` | # register the Foo class; make `g()` and `_h()` accessible via proxy | |
174 | library/multiprocessing | ` | # register the generator function baz; use `GeneratorProxy` to make proxies | |
175 | library/nntplib | :bytes | :bytes | |
176 | library/nntplib | :lines | :lines | |
177 | library/optparse | :len | del parser.rargs[:len(value)] | |
178 | library/os.path | :foo | c:foo | |
179 | library/pathlib | :bar | >>> PureWindowsPath('c:/Windows', 'd:bar') | |
180 | library/pathlib | :bar | PureWindowsPath('d:bar') | |
181 | library/pathlib | :Program | >>> PureWindowsPath('c:Program Files/').root | |
182 | library/pathlib | :Program | >>> PureWindowsPath('c:Program Files/').anchor | |
183 | library/pdb | :lineno | filename:lineno | |
184 | library/pickle | :memory | conn = sqlite3.connect(":memory:") | |
185 | library/posix | ` | CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS" | |
186 | library/pprint | :: | 'Programming Language :: Python :: 2 :: Only'], | |
187 | library/pprint | :: | 'Programming Language :: Python :: 2.6', | |
188 | library/pprint | :: | 'Programming Language :: Python :: 2.7', | |
189 | library/profile | :lineno | filename:lineno(function) | |
190 | library/pyexpat | :elem1 | <py:elem1 /> | |
191 | library/pyexpat | :py | xmlns:py = "http://www.python.org/ns/"> | |
192 | library/smtplib | :port | method must support that as well as a regular host:port | |
193 | library/socket | :: | '5aef:2b::8' | |
194 | library/socket | :can | return (can_id, can_dlc, data[:can_dlc]) | |
195 | library/socket | :len | fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)]) | |
196 | library/sqlite3 | :age | cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age}) | |
197 | library/sqlite3 | :memory | ||
198 | library/sqlite3 | :who | cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age}) | |
199 | library/sqlite3 | :path | db = sqlite3.connect('file:path/to/database?mode=ro', uri=True) | |
200 | library/ssl | :My | Organizational Unit Name (eg, section) []:My Group | |
201 | library/ssl | :My | Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc. | |
202 | library/ssl | :myserver | Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com | |
203 | library/ssl | :MyState | State or Province Name (full name) [Some-State]:MyState | |
204 | library/ssl | :ops | Email Address []:ops@myserver.mygroup.myorganization.com | |
205 | library/ssl | :Some | Locality Name (eg, city) []:Some City | |
206 | library/ssl | :US | Country Name (2 letter code) [AU]:US | |
207 | library/stdtypes | :end | s[start:end] | |
208 | library/stdtypes | :: | >>> hash(v[::-2]) == hash(b'abcefg'[::-2]) | |
209 | library/stdtypes | :len | s[len(s):len(s)] | |
210 | library/stdtypes | :: | >>> y = m[::2] | |
211 | library/stdtypes | :: | >>> z = y[::-2] | |
212 | library/subprocess | ` | output=`dmesg | grep hda` | |
213 | library/subprocess | ` | output=`mycmd myarg` | |
214 | library/tarfile | :bz2 | ||
215 | library/tarfile | :compression | filemode[:compression] | |
216 | library/tarfile | :gz | ||
217 | library/tarfile | :xz | 'a:xz' | |
218 | library/tarfile | :xz | 'r:xz' | |
219 | library/tarfile | :xz | 'w:xz' | |
220 | library/time | :mm | ||
221 | library/time | :ss | ||
222 | library/tracemalloc | :limit | for index, stat in enumerate(top_stats[:limit], 1): | |
223 | library/turtle | :: | Example:: | |
224 | library/unittest | :foo | self.assertEqual(cm.output, ['INFO:foo:first message', | |
225 | library/unittest | :first | self.assertEqual(cm.output, ['INFO:foo:first message', | |
226 | library/unittest | :foo | 'ERROR:foo.bar:second message']) | |
227 | library/unittest | :second | 'ERROR:foo.bar:second message']) | |
228 | library/urllib.request | :close | Connection:close | |
229 | library/urllib.request | :port | :port | |
230 | library/urllib.request | :lang | xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n | |
231 | library/urllib.request | :password | "joe:password@python.org" | |
232 | library/uuid | :uuid | urn:uuid:12345678-1234-5678-1234-567812345678 | |
233 | library/venv | :param | :param nodist: If True, setuptools and pip are not installed into the | |
234 | library/venv | :param | :param progress: If setuptools or pip are installed, the progress of the | |
235 | library/venv | :param | :param nopip: If True, pip is not installed into the created | |
236 | library/venv | :param | :param context: The information for the virtual environment | |
237 | library/xmlrpc.client | :nil | ex:nil | |
238 | library/xmlrpc.client | :pass | http://user:pass@host:port/path | |
239 | library/xmlrpc.client | :pass | user:pass | |
240 | library/xmlrpc.client | :port | http://user:pass@host:port/path | |
241 | license | ` | ``Software''), to deal in the Software without restriction, including | |
242 | license | ` | THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, | |
243 | license | ` | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | |
244 | license | ` | THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | |
245 | license | ` | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | |
246 | license | ` | THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND | |
247 | license | :zooko | mailto:zooko@zooko.com | |
248 | reference/expressions | :index | x[index:index] | |
249 | reference/lexical_analysis | ` | $ ? ` | |
250 | reference/lexical_analysis | :fileencoding | # vim:fileencoding=<encoding-name> | |
251 | tutorial/datastructures | :value | It is also possible to delete a key:value | |
252 | tutorial/datastructures | :value | key:value pairs within the braces adds initial key:value pairs | |
253 | tutorial/stdlib2 | :config | logging.warning('Warning:config file %s not found', 'server.conf') | |
254 | tutorial/stdlib2 | :config | WARNING:root:Warning:config file server.conf not found | |
255 | tutorial/stdlib2 | :Critical | CRITICAL:root:Critical error -- shutting down | |
256 | tutorial/stdlib2 | :Error | ERROR:root:Error occurred | |
257 | tutorial/stdlib2 | :root | CRITICAL:root:Critical error -- shutting down | |
258 | tutorial/stdlib2 | :root | ERROR:root:Error occurred | |
259 | tutorial/stdlib2 | :root | WARNING:root:Warning:config file server.conf not found | |
260 | tutorial/stdlib2 | :start | extra = data[start:start+extra_size] | |
261 | tutorial/stdlib2 | :start | fields = struct.unpack('<IIIHH', data[start:start+16]) | |
262 | tutorial/stdlib2 | :start | filename = data[start:start+filenamesize] | |
263 | tutorial/stdlib2 | :Warning | WARNING:root:Warning:config file server.conf not found | |
264 | using/cmdline | :category | action:message:category:module:line | |
265 | using/cmdline | :errorhandler | :errorhandler | |
266 | using/cmdline | :line | action:message:category:module:line | |
267 | using/cmdline | :line | file:line: category: message | |
268 | using/cmdline | :message | action:message:category:module:line | |
269 | using/cmdline | :module | action:message:category:module:line | |
270 | using/unix | :Packaging | https://en.opensuse.org/Portal:Packaging | |
271 | whatsnew/2.0 | :len | ||
272 | whatsnew/2.3 | :: | ||
273 | whatsnew/2.3 | :config | ||
274 | whatsnew/2.3 | :Critical | ||
275 | whatsnew/2.3 | :Error | ||
276 | whatsnew/2.3 | :Problem | ||
277 | whatsnew/2.3 | :root | ||
278 | whatsnew/2.3 | :Warning | ||
279 | whatsnew/2.4 | :: | ||
280 | whatsnew/2.4 | :System | ||
281 | whatsnew/2.5 | :memory | :memory: | |
282 | whatsnew/2.5 | :step | [start:stop:step] | |
283 | whatsnew/2.5 | :stop | [start:stop:step] | |
284 | whatsnew/2.7 | :: | ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]', | |
285 | whatsnew/2.7 | :: | >>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo') | |
286 | whatsnew/2.7 | :Sunday | '2009:4:Sunday' | |
287 | whatsnew/2.7 | :Cookie | export PYTHONWARNINGS=all,error:::Cookie:0 | |
288 | whatsnew/2.7 | :: | export PYTHONWARNINGS=all,error:::Cookie:0 | |
289 | whatsnew/3.2 | :affe | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
290 | whatsnew/3.2 | :affe | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
291 | whatsnew/3.2 | :beef | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
292 | whatsnew/3.2 | :beef | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
293 | whatsnew/3.2 | :cafe | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
294 | whatsnew/3.2 | :cafe | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
295 | whatsnew/3.2 | :deaf | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
296 | whatsnew/3.2 | :deaf | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
297 | whatsnew/3.2 | :directory | ${buildout:directory}/downloads/dist | |
298 | whatsnew/3.2 | :: | $ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::' | |
299 | whatsnew/3.2 | :feed | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
300 | whatsnew/3.2 | :feed | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
301 | whatsnew/3.2 | :gz | >>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf: | |
302 | whatsnew/3.2 | :location | zope9-location = ${zope9:location} | |
303 | whatsnew/3.2 | :prefix | zope-conf = ${custom:prefix}/etc/zope.conf | |
304 | library/tarfile | :xz | 'x:xz' | |
305 | library/xml.etree.elementtree | :sometag | prefix:sometag | |
306 | library/xml.etree.elementtree | :fictional | <actors xmlns:fictional="http://characters.example.com" | |
307 | library/xml.etree.elementtree | :character | <fictional:character>Lancelot</fictional:character> | |
308 | library/xml.etree.elementtree | :character | <fictional:character>Archie Leach</fictional:character> | |
309 | library/xml.etree.elementtree | :character | <fictional:character>Sir Robin</fictional:character> | |
310 | library/xml.etree.elementtree | :character | <fictional:character>Gunther</fictional:character> | |
311 | library/xml.etree.elementtree | :character | <fictional:character>Commander Clement</fictional:character> | |
312 | library/xml.etree.elementtree | :actor | for actor in root.findall('real_person:actor', ns): | |
313 | library/xml.etree.elementtree | :name | name = actor.find('real_person:name', ns) | |
314 | library/xml.etree.elementtree | :character | for char in actor.findall('role:character', ns): | |
315 | library/zipapp | :main | $ python -m zipapp myapp -m "myapp:main" | |
316 | library/zipapp | :fn | argument should have the form "pkg.mod:fn", where "pkg.mod" is a | |
317 | library/zipapp | :callable | "pkg.module:callable" and the archive will be run by importing | |
318 | library/stdtypes | :: | >>> m[::2].tolist() | |
319 | library/sys | ` | # ``wrapper`` creates a ``wrap(coro)`` coroutine: | |
320 | whatsnew/3.5 | :root | 'WARNING:root:warning\n' | |
321 | whatsnew/3.5 | :warning | 'WARNING:root:warning\n' | |
322 | whatsnew/3.5 | :: | >>> addr6 = ipaddress.IPv6Address('::1') | |
323 | whatsnew/3.5 | :root | ERROR:root:exception | |
324 | whatsnew/3.5 | :exception | ERROR:root:exception | |
325 | whatsnew/changelog | :version | import sys; I = version[:version.index(' ')] | |
326 | whatsnew/changelog | :gz | : TarFile opened with external fileobj and "w:gz" mode didn't | |
327 | whatsnew/changelog | :: | : Use "127.0.0.1" or "::1" instead of "localhost" as much as | |
328 | whatsnew/changelog | ` | for readability (was "`"). |