Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 1 | c-api/arg,,:ref,"PyArg_ParseTuple(args, ""O|O:ref"", &object, &callback)" |
| 2 | c-api/list,,:high,list[low:high] |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 3 | c-api/sequence,,:i2,del o[i1:i2] |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 4 | c-api/sequence,,:i2,o[i1:i2] |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 5 | c-api/unicode,,:end,str[start:end] |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 6 | c-api/unicode,,:start,unicode[start:start+length] |
| 7 | distutils/examples,267,`,This is the description of the ``foobar`` package. |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 8 | distutils/setupscript,,::, |
| 9 | extending/embedding,,:numargs,"if(!PyArg_ParseTuple(args, "":numargs""))" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 10 | extending/extending,,:myfunction,"PyArg_ParseTuple(args, ""D:myfunction"", &c);" |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 11 | extending/extending,,:set,"if (PyArg_ParseTuple(args, ""O:set_callback"", &temp)) {" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 12 | extending/newtypes,,:call,"if (!PyArg_ParseTuple(args, ""sss:call"", &arg1, &arg2, &arg3)) {" |
| 13 | extending/windows,,:initspam,/export:initspam |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 14 | 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(" |
| 15 | faq/programming,,::,for x in sequence[::-1]: |
| 16 | faq/programming,,:reduce,"print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y," |
| 17 | faq/programming,,:reduce,"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro," |
Ezio Melotti | e5caf29 | 2013-03-28 04:54:58 +0200 | [diff] [blame] | 18 | 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" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 19 | howto/cporting,,:encode,"if (!PyArg_ParseTuple(args, ""O:encode_object"", &myobj))" |
| 20 | howto/cporting,,:say,"if (!PyArg_ParseTuple(args, ""U:say_hello"", &name))" |
Georg Brandl | 325a1c2 | 2013-10-27 09:16:01 +0100 | [diff] [blame^] | 21 | howto/curses,,:black,"colors when it activates color mode. They are: 0:black, 1:red," |
| 22 | howto/curses,,:red,"colors when it activates color mode. They are: 0:black, 1:red," |
| 23 | howto/curses,,:green,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The" |
| 24 | howto/curses,,:yellow,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The" |
| 25 | howto/curses,,:blue,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The" |
| 26 | howto/curses,,:magenta,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The" |
| 27 | howto/curses,,:cyan,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The" |
| 28 | howto/curses,,:white,"2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and 7:white. The" |
Georg Brandl | 3539afd | 2012-05-30 22:03:20 +0200 | [diff] [blame] | 29 | howto/ipaddress,,:DB8,>>> ipaddress.ip_address('2001:DB8::1') |
| 30 | howto/ipaddress,,::,>>> ipaddress.ip_address('2001:DB8::1') |
| 31 | howto/ipaddress,,:db8,IPv6Address('2001:db8::1') |
| 32 | howto/ipaddress,,::,IPv6Address('2001:db8::1') |
Georg Brandl | 3539afd | 2012-05-30 22:03:20 +0200 | [diff] [blame] | 33 | howto/ipaddress,,::,IPv6Address('::1') |
| 34 | howto/ipaddress,,:db8,>>> ipaddress.ip_network('2001:db8::0/96') |
| 35 | howto/ipaddress,,::,>>> ipaddress.ip_network('2001:db8::0/96') |
| 36 | howto/ipaddress,,:db8,IPv6Network('2001:db8::/96') |
| 37 | howto/ipaddress,,::,IPv6Network('2001:db8::/96') |
| 38 | howto/ipaddress,,:db8,IPv6Network('2001:db8::/128') |
| 39 | howto/ipaddress,,::,IPv6Network('2001:db8::/128') |
Georg Brandl | 3539afd | 2012-05-30 22:03:20 +0200 | [diff] [blame] | 40 | howto/ipaddress,,:db8,IPv6Interface('2001:db8::1/96') |
| 41 | howto/ipaddress,,::,IPv6Interface('2001:db8::1/96') |
| 42 | howto/ipaddress,,:db8,>>> addr6 = ipaddress.ip_address('2001:db8::1') |
| 43 | howto/ipaddress,,::,>>> addr6 = ipaddress.ip_address('2001:db8::1') |
| 44 | howto/ipaddress,,:db8,>>> host6 = ipaddress.ip_interface('2001:db8::1/96') |
| 45 | howto/ipaddress,,::,>>> host6 = ipaddress.ip_interface('2001:db8::1/96') |
Georg Brandl | 3539afd | 2012-05-30 22:03:20 +0200 | [diff] [blame] | 46 | howto/ipaddress,,:db8,>>> net6 = ipaddress.ip_network('2001:db8::0/96') |
| 47 | howto/ipaddress,,::,>>> net6 = ipaddress.ip_network('2001:db8::0/96') |
| 48 | howto/ipaddress,,:ffff,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') |
| 49 | howto/ipaddress,,::,IPv6Address('ffff:ffff:ffff:ffff:ffff:ffff::') |
| 50 | howto/ipaddress,,::,IPv6Address('::ffff:ffff') |
| 51 | howto/ipaddress,,:ffff,IPv6Address('::ffff:ffff') |
Georg Brandl | a81b481 | 2012-08-11 08:43:59 +0200 | [diff] [blame] | 52 | howto/ipaddress,,:db8,'2001:db8::/96' |
| 53 | howto/ipaddress,,::,'2001:db8::/96' |
Ezio Melotti | e5caf29 | 2013-03-28 04:54:58 +0200 | [diff] [blame] | 54 | howto/ipaddress,,:db8,>>> ipaddress.ip_interface('2001:db8::1/96') |
| 55 | howto/ipaddress,,::,>>> ipaddress.ip_interface('2001:db8::1/96') |
| 56 | howto/ipaddress,,:db8,'2001:db8::1' |
| 57 | howto/ipaddress,,::,'2001:db8::1' |
| 58 | howto/ipaddress,,:db8,IPv6Address('2001:db8::ffff:ffff') |
| 59 | howto/ipaddress,,::,IPv6Address('2001:db8::ffff:ffff') |
| 60 | howto/ipaddress,,:ffff,IPv6Address('2001:db8::ffff:ffff') |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 61 | howto/logging,,:And,"WARNING:And this, too" |
| 62 | howto/logging,,:And,"WARNING:root:And this, too" |
| 63 | howto/logging,,:Doing,INFO:root:Doing something |
| 64 | howto/logging,,:Finished,INFO:root:Finished |
| 65 | howto/logging,,:logger,severity:logger name:message |
| 66 | howto/logging,,:Look,WARNING:root:Look before you leap! |
| 67 | howto/logging,,:message,severity:logger name:message |
| 68 | howto/logging,,:root,DEBUG:root:This message should go to the log file |
| 69 | howto/logging,,:root,INFO:root:Doing something |
| 70 | howto/logging,,:root,INFO:root:Finished |
| 71 | howto/logging,,:root,INFO:root:So should this |
| 72 | howto/logging,,:root,INFO:root:Started |
| 73 | howto/logging,,:root,"WARNING:root:And this, too" |
| 74 | howto/logging,,:root,WARNING:root:Look before you leap! |
| 75 | howto/logging,,:root,WARNING:root:Watch out! |
| 76 | howto/logging,,:So,INFO:root:So should this |
| 77 | howto/logging,,:So,INFO:So should this |
| 78 | howto/logging,,:Started,INFO:root:Started |
| 79 | howto/logging,,:This,DEBUG:root:This message should go to the log file |
| 80 | howto/logging,,:This,DEBUG:This message should appear on the console |
| 81 | howto/logging,,:Watch,WARNING:root:Watch out! |
| 82 | howto/pyporting,75,::,# make sure to use :: Python *and* :: Python :: 3 so |
| 83 | howto/pyporting,75,::,"'Programming Language :: Python'," |
| 84 | howto/pyporting,75,::,'Programming Language :: Python :: 3' |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 85 | howto/regex,,::, |
| 86 | howto/regex,,:foo,(?:foo) |
| 87 | howto/urllib2,,:example,"for example ""joe@password:example.com""" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 88 | library/audioop,,:ipos,"# factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)]," |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 89 | library/bisect,32,:hi,all(val >= x for val in a[i:hi]) |
| 90 | library/bisect,42,:hi,all(val > x for val in a[i:hi]) |
| 91 | library/configparser,,:home,my_dir: ${Common:home_dir}/twosheds |
| 92 | library/configparser,,:option,${section:option} |
| 93 | library/configparser,,:path,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} |
| 94 | library/configparser,,:Python,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 95 | library/configparser,,:system,path: ${Common:system_dir}/Library/Frameworks/ |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 96 | library/datetime,,:MM, |
| 97 | library/datetime,,:SS, |
| 98 | library/decimal,,:optional,"trailneg:optional trailing minus indicator" |
| 99 | library/difflib,,:ahi,a[alo:ahi] |
| 100 | library/difflib,,:bhi,b[blo:bhi] |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 101 | library/difflib,,:i1, |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 102 | library/difflib,,:i2, |
| 103 | library/difflib,,:j2, |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 104 | library/doctest,,`,``factorial`` from the ``example`` module: |
| 105 | library/doctest,,`,The ``example`` module |
| 106 | library/doctest,,`,Using ``factorial`` |
Ezio Melotti | e5caf29 | 2013-03-28 04:54:58 +0200 | [diff] [blame] | 107 | library/exceptions,,:err,err.object[err.start:err.end] |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 108 | library/functions,,:step,a[start:stop:step] |
| 109 | library/functions,,:stop,"a[start:stop, i]" |
| 110 | library/functions,,:stop,a[start:stop:step] |
Ezio Melotti | be54d6d | 2012-09-20 08:46:06 +0300 | [diff] [blame] | 111 | library/http.client,,:port,host:port |
Georg Brandl | ebb2964 | 2012-05-01 09:29:56 +0200 | [diff] [blame] | 112 | library/http.cookies,,`,!#$%&'*+-.^_`|~: |
Georg Brandl | d3b41c6 | 2011-07-09 11:48:50 +0200 | [diff] [blame] | 113 | library/imaplib,,:MM,"""DD-Mmm-YYYY HH:MM:SS" |
| 114 | library/imaplib,,:SS,"""DD-Mmm-YYYY HH:MM:SS" |
Ezio Melotti | 6f69fb1 | 2012-08-22 08:38:04 +0300 | [diff] [blame] | 115 | library/inspect,,:int,">>> def foo(a, *, b:int, **kwargs):" |
| 116 | library/inspect,,:int,"'(a, *, b:int, **kwargs)'" |
| 117 | library/inspect,,:int,'b:int' |
Georg Brandl | 3f81ba8 | 2012-06-26 09:12:26 +0200 | [diff] [blame] | 118 | library/ipaddress,,:db8,>>> ipaddress.ip_address('2001:db8::') |
| 119 | library/ipaddress,,::,>>> ipaddress.ip_address('2001:db8::') |
| 120 | library/ipaddress,,:db8,IPv6Address('2001:db8::') |
| 121 | library/ipaddress,,::,IPv6Address('2001:db8::') |
| 122 | library/ipaddress,,:db8,>>> ipaddress.IPv6Address('2001:db8::1000') |
| 123 | library/ipaddress,,::,>>> ipaddress.IPv6Address('2001:db8::1000') |
| 124 | library/ipaddress,,:db8,IPv6Address('2001:db8::1000') |
| 125 | library/ipaddress,,::,IPv6Address('2001:db8::1000') |
Georg Brandl | a81b481 | 2012-08-11 08:43:59 +0200 | [diff] [blame] | 126 | library/ipaddress,,::,"""::abc:7:def""" |
| 127 | library/ipaddress,,:def,"""::abc:7:def""" |
| 128 | library/ipaddress,,::,::FFFF/96 |
| 129 | library/ipaddress,,::,2002::/16 |
| 130 | library/ipaddress,,::,2001::/32 |
| 131 | library/ipaddress,,::,>>> str(ipaddress.IPv6Address('::1')) |
| 132 | library/ipaddress,,::,'::1' |
Georg Brandl | a81b481 | 2012-08-11 08:43:59 +0200 | [diff] [blame] | 133 | library/ipaddress,,:ff00,ffff:ff00:: |
| 134 | library/ipaddress,,:db00,2001:db00::0/24 |
| 135 | library/ipaddress,,::,2001:db00::0/24 |
| 136 | library/ipaddress,,:db00,2001:db00::0/ffff:ff00:: |
| 137 | library/ipaddress,,::,2001:db00::0/ffff:ff00:: |
Benjamin Peterson | ef3e4c2 | 2009-04-11 19:48:14 +0000 | [diff] [blame] | 138 | library/itertools,,:step,elements from seq[start:stop:step] |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 139 | library/itertools,,:stop,elements from seq[start:stop:step] |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 140 | library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh" |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 141 | library/logging.handlers,,:port,host:port |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 142 | library/mmap,,:i2,obj[i1:i2] |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 143 | library/multiprocessing,,`,# Add more tasks using `put()` |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 144 | library/multiprocessing,,`,# A test file for the `multiprocessing` package |
| 145 | library/multiprocessing,,`,# A test of `multiprocessing.Pool` class |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 146 | library/multiprocessing,,`,# `BaseManager`. |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 147 | library/multiprocessing,,`,# in the original order then consider using `Pool.map()` or |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 148 | library/multiprocessing,,`,">>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`" |
| 149 | library/multiprocessing,,`,">>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 150 | library/multiprocessing,,`,# Not sure if we should synchronize access to `socket.accept()` method by |
| 151 | library/multiprocessing,,`,# object. (We import `multiprocessing.reduction` to enable this pickling.) |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 152 | library/multiprocessing,,`,# `Pool.imap()` (which will save on the amount of code needed anyway). |
| 153 | library/multiprocessing,,:queue,">>> QueueManager.register('get_queue', callable=lambda:queue)" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 154 | library/multiprocessing,,`,# register the Foo class; make `f()` and `g()` accessible via proxy |
| 155 | library/multiprocessing,,`,# register the Foo class; make `g()` and `_h()` accessible via proxy |
| 156 | library/multiprocessing,,`,# register the generator function baz; use `GeneratorProxy` to make proxies |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 157 | library/nntplib,,:bytes,:bytes |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 158 | library/nntplib,,:lines,:lines |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 159 | library/optparse,,:len,"del parser.rargs[:len(value)]" |
| 160 | library/os.path,,:foo,c:foo |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 161 | library/pdb,,:lineno,filename:lineno |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 162 | library/pickle,,:memory,"conn = sqlite3.connect("":memory:"")" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 163 | library/posix,,`,"CFLAGS=""`getconf LFS_CFLAGS`"" OPT=""-g -O2 $CFLAGS""" |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 164 | library/pprint,209,::,"'classifiers': ['Development Status :: 4 - Beta'," |
| 165 | library/pprint,209,::,"'Intended Audience :: Developers'," |
| 166 | library/pprint,209,::,"'License :: OSI Approved :: MIT License'," |
| 167 | library/pprint,209,::,"'Natural Language :: English'," |
| 168 | library/pprint,209,::,"'Operating System :: OS Independent'," |
| 169 | library/pprint,209,::,"'Programming Language :: Python'," |
| 170 | library/pprint,209,::,"'Programming Language :: Python :: 2'," |
| 171 | library/pprint,209,::,"'Programming Language :: Python :: 2.6'," |
| 172 | library/pprint,209,::,"'Programming Language :: Python :: 2.7'," |
| 173 | library/pprint,209,::,"'Topic :: Software Development :: Libraries'," |
| 174 | library/pprint,209,::,"'Topic :: Software Development :: Libraries :: Python Modules']," |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 175 | library/profile,,:lineno,filename:lineno(function) |
| 176 | library/pyexpat,,:elem1,<py:elem1 /> |
| 177 | library/pyexpat,,:py,"xmlns:py = ""http://www.python.org/ns/"">" |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 178 | library/smtplib,,:port,method must support that as well as a regular host:port |
| 179 | library/socket,,::,"(10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 180 | library/socket,,::,'5aef:2b::8' |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 181 | library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])" |
| 182 | library/socket,,:len,fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)]) |
| 183 | library/sqlite3,,:age,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})" |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 184 | library/sqlite3,,:memory, |
| 185 | library/sqlite3,,:who,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 186 | library/ssl,,:My,"Organizational Unit Name (eg, section) []:My Group" |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 187 | library/ssl,,:My,"Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc." |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 188 | library/ssl,,:myserver,"Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com" |
| 189 | library/ssl,,:MyState,State or Province Name (full name) [Some-State]:MyState |
| 190 | library/ssl,,:ops,Email Address []:ops@myserver.mygroup.myorganization.com |
| 191 | library/ssl,,:Some,"Locality Name (eg, city) []:Some City" |
| 192 | library/ssl,,:US,Country Name (2 letter code) [AU]:US |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 193 | library/stdtypes,,::,>>> a[::-1].tolist() |
| 194 | library/stdtypes,,::,>>> a[::2].tolist() |
| 195 | library/stdtypes,,:end,s[start:end] |
| 196 | library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2]) |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 197 | library/stdtypes,,:len,s[len(s):len(s)] |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 198 | library/stdtypes,,::,>>> y = m[::2] |
Georg Brandl | d183f0b | 2012-08-25 12:14:59 +0200 | [diff] [blame] | 199 | library/stdtypes,,::,>>> z = y[::-2] |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 200 | library/subprocess,,`,"output=`dmesg | grep hda`" |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 201 | library/subprocess,,`,"output=`mycmd myarg`" |
| 202 | library/tarfile,,:bz2, |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 203 | library/tarfile,,:compression,filemode[:compression] |
| 204 | library/tarfile,,:gz, |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 205 | library/tarfile,,:xz,'a:xz' |
| 206 | library/tarfile,,:xz,'r:xz' |
| 207 | library/tarfile,,:xz,'w:xz' |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 208 | library/time,,:mm, |
| 209 | library/time,,:ss, |
| 210 | library/turtle,,::,Example:: |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 211 | library/urllib.request,,:close,Connection:close |
| 212 | library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n" |
| 213 | library/urllib.request,,:password,"""joe:password@python.org""" |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 214 | library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678 |
Georg Brandl | 325a1c2 | 2013-10-27 09:16:01 +0100 | [diff] [blame^] | 215 | library/venv,,:param,":param nodist: If True, setuptools and pip are not installed into the" |
| 216 | library/venv,,:param,":param progress: If setuptools or pip are installed, the progress of the" |
Ezio Melotti | e5caf29 | 2013-03-28 04:54:58 +0200 | [diff] [blame] | 217 | library/venv,,:param,":param nopip: If True, pip is not installed into the created" |
Ezio Melotti | e5caf29 | 2013-03-28 04:54:58 +0200 | [diff] [blame] | 218 | library/venv,,:param,:param context: The information for the environment creation request |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 219 | library/xmlrpc.client,,:pass,http://user:pass@host:port/path |
| 220 | library/xmlrpc.client,,:pass,user:pass |
| 221 | library/xmlrpc.client,,:port,http://user:pass@host:port/path |
| 222 | license,,`,"``Software''), to deal in the Software without restriction, including" |
| 223 | license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND," |
| 224 | license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND |
| 225 | license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
| 226 | license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 227 | license,,`,THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND |
| 228 | license,,:zooko,mailto:zooko@zooko.com |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 229 | reference/expressions,,:index,x[index:index] |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 230 | reference/lexical_analysis,,`,$ ? ` |
| 231 | reference/lexical_analysis,,:fileencoding,# vim:fileencoding=<encoding-name> |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 232 | tutorial/datastructures,,:value,It is also possible to delete a key:value |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 233 | tutorial/datastructures,,:value,key:value pairs within the braces adds initial key:value pairs |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 234 | tutorial/stdlib2,,:config,"logging.warning('Warning:config file %s not found', 'server.conf')" |
| 235 | tutorial/stdlib2,,:config,WARNING:root:Warning:config file server.conf not found |
| 236 | tutorial/stdlib2,,:Critical,CRITICAL:root:Critical error -- shutting down |
| 237 | tutorial/stdlib2,,:Error,ERROR:root:Error occurred |
| 238 | tutorial/stdlib2,,:root,CRITICAL:root:Critical error -- shutting down |
| 239 | tutorial/stdlib2,,:root,ERROR:root:Error occurred |
| 240 | tutorial/stdlib2,,:root,WARNING:root:Warning:config file server.conf not found |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 241 | tutorial/stdlib2,,:start,extra = data[start:start+extra_size] |
| 242 | tutorial/stdlib2,,:start,"fields = struct.unpack('<IIIHH', data[start:start+16])" |
| 243 | tutorial/stdlib2,,:start,filename = data[start:start+filenamesize] |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 244 | tutorial/stdlib2,,:Warning,WARNING:root:Warning:config file server.conf not found |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 245 | using/cmdline,,:category,action:message:category:module:line |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 246 | using/cmdline,,:errorhandler,:errorhandler |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 247 | using/cmdline,,:line,action:message:category:module:line |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 248 | using/cmdline,,:line,file:line: category: message |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 249 | using/cmdline,,:message,action:message:category:module:line |
| 250 | using/cmdline,,:module,action:message:category:module:line |
Georg Brandl | 325a1c2 | 2013-10-27 09:16:01 +0100 | [diff] [blame^] | 251 | using/unix,,:Packaging,http://en.opensuse.org/Portal:Packaging |
Benjamin Peterson | 28d88b4 | 2009-01-09 03:03:23 +0000 | [diff] [blame] | 252 | whatsnew/2.0,418,:len, |
| 253 | whatsnew/2.3,,::, |
| 254 | whatsnew/2.3,,:config, |
| 255 | whatsnew/2.3,,:Critical, |
| 256 | whatsnew/2.3,,:Error, |
| 257 | whatsnew/2.3,,:Problem, |
| 258 | whatsnew/2.3,,:root, |
| 259 | whatsnew/2.3,,:Warning, |
| 260 | whatsnew/2.4,,::, |
| 261 | whatsnew/2.4,,:System, |
| 262 | whatsnew/2.5,,:memory,:memory: |
| 263 | whatsnew/2.5,,:step,[start:stop:step] |
| 264 | whatsnew/2.5,,:stop,[start:stop:step] |
Georg Brandl | 19b3e00 | 2010-10-06 10:35:24 +0000 | [diff] [blame] | 265 | whatsnew/2.7,1619,::,"ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]'," |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 266 | whatsnew/2.7,1619,::,>>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo') |
| 267 | whatsnew/2.7,735,:Sunday,'2009:4:Sunday' |
| 268 | whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0" |
| 269 | whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0" |
Georg Brandl | 14927d0 | 2011-02-20 10:22:41 +0000 | [diff] [blame] | 270 | whatsnew/3.2,,:affe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]'," |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 271 | whatsnew/3.2,,:affe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') |
| 272 | whatsnew/3.2,,:beef,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]'," |
| 273 | whatsnew/3.2,,:beef,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') |
| 274 | whatsnew/3.2,,:cafe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]'," |
| 275 | whatsnew/3.2,,:cafe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') |
Georg Brandl | 14927d0 | 2011-02-20 10:22:41 +0000 | [diff] [blame] | 276 | whatsnew/3.2,,:deaf,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]'," |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 277 | whatsnew/3.2,,:deaf,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 278 | whatsnew/3.2,,:directory,${buildout:directory}/downloads/dist |
| 279 | whatsnew/3.2,,::,"$ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::'" |
Georg Brandl | 14927d0 | 2011-02-20 10:22:41 +0000 | [diff] [blame] | 280 | whatsnew/3.2,,:feed,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]'," |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 281 | whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') |
| 282 | whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:" |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 283 | whatsnew/3.2,,:location,zope9-location = ${zope9:location} |
Georg Brandl | 0e475c3 | 2012-03-04 16:22:05 +0100 | [diff] [blame] | 284 | whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf |
Ezio Melotti | e5caf29 | 2013-03-28 04:54:58 +0200 | [diff] [blame] | 285 | whatsnew/changelog,,:platform,:platform: |
Ezio Melotti | e5caf29 | 2013-03-28 04:54:58 +0200 | [diff] [blame] | 286 | whatsnew/changelog,,:PythonCmd,"With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused" |
Ezio Melotti | e5caf29 | 2013-03-28 04:54:58 +0200 | [diff] [blame] | 287 | whatsnew/changelog,,::,": Fix FTP tests for IPv6, bind to ""::1"" instead of ""localhost""." |
Georg Brandl | 325a1c2 | 2013-10-27 09:16:01 +0100 | [diff] [blame^] | 288 | whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as" |
| 289 | whatsnew/changelog,,:password,user:password |