Sort and clean up suspicious ignore file.

This commit is contained in:
Georg Brandl 2012-03-04 16:22:05 +01:00
parent a673eb895e
commit 0e475c359c
1 changed files with 169 additions and 177 deletions

View File

@ -1,16 +1,24 @@
c-api/arg,,:ref,"PyArg_ParseTuple(args, ""O|O:ref"", &object, &callback)"
c-api/list,,:high,list[low:high]
c-api/list,,:high,list[low:high] = itemlist
c-api/sequence,,:i2,del o[i1:i2]
c-api/sequence,,:i2,o[i1:i2]
c-api/sequence,,:i2,o[i1:i2] = v
c-api/sequence,,:i2,del o[i1:i2]
c-api/unicode,,:end,str[start:end]
c-api/unicode,,:start,unicode[start:start+length]
distutils/examples,267,`,This is the description of the ``foobar`` package.
distutils/setupscript,,::,
extending/embedding,,:numargs,"if(!PyArg_ParseTuple(args, "":numargs""))"
extending/extending,,:set,"if (PyArg_ParseTuple(args, ""O:set_callback"", &temp)) {"
extending/extending,,:myfunction,"PyArg_ParseTuple(args, ""D:myfunction"", &c);"
extending/extending,,:set,"if (PyArg_ParseTuple(args, ""O:set_callback"", &temp)) {"
extending/newtypes,,:call,"if (!PyArg_ParseTuple(args, ""sss:call"", &arg1, &arg2, &arg3)) {"
extending/windows,,:initspam,/export:initspam
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("
faq/programming,,::,for x in sequence[::-1]:
faq/programming,,:reduce,"print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,"
faq/programming,,:reduce,"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,"
faq/windows,229,:EOF,@setlocal enableextensions & python -x %~f0 %* & goto :EOF
faq/windows,393,:REG,.py :REG_SZ: c:\<path to python>\python.exe -u %s %s
howto/cporting,,:add,"if (!PyArg_ParseTuple(args, ""ii:add_ints"", &one, &two))"
howto/cporting,,:encode,"if (!PyArg_ParseTuple(args, ""O:encode_object"", &myobj))"
howto/cporting,,:say,"if (!PyArg_ParseTuple(args, ""U:say_hello"", &name))"
@ -22,19 +30,53 @@ howto/curses,,:magenta,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:m
howto/curses,,:red,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
howto/curses,,:white,"7:white."
howto/curses,,:yellow,"They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and"
howto/logging,,:And,"WARNING:And this, too"
howto/logging,,:And,"WARNING:root:And this, too"
howto/logging,,:Doing,INFO:root:Doing something
howto/logging,,:Finished,INFO:root:Finished
howto/logging,,:logger,severity:logger name:message
howto/logging,,:Look,WARNING:root:Look before you leap!
howto/logging,,:message,severity:logger name:message
howto/logging,,:root,DEBUG:root:This message should go to the log file
howto/logging,,:root,INFO:root:Doing something
howto/logging,,:root,INFO:root:Finished
howto/logging,,:root,INFO:root:So should this
howto/logging,,:root,INFO:root:Started
howto/logging,,:root,"WARNING:root:And this, too"
howto/logging,,:root,WARNING:root:Look before you leap!
howto/logging,,:root,WARNING:root:Watch out!
howto/logging,,:So,INFO:root:So should this
howto/logging,,:So,INFO:So should this
howto/logging,,:Started,INFO:root:Started
howto/logging,,:This,DEBUG:root:This message should go to the log file
howto/logging,,:This,DEBUG:This message should appear on the console
howto/logging,,:Watch,WARNING:root:Watch out!
howto/pyporting,75,::,# make sure to use :: Python *and* :: Python :: 3 so
howto/pyporting,75,::,"'Programming Language :: Python',"
howto/pyporting,75,::,'Programming Language :: Python :: 3'
howto/regex,,::,
howto/regex,,:foo,(?:foo)
howto/urllib2,,:example,"for example ""joe@password:example.com"""
howto/webservers,,.. image:,.. image:: http.png
library/audioop,,:ipos,"# factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)],"
library/bisect,32,:hi,all(val >= x for val in a[i:hi])
library/bisect,42,:hi,all(val > x for val in a[i:hi])
library/configparser,,:home,my_dir: ${Common:home_dir}/twosheds
library/configparser,,:option,${section:option}
library/configparser,,:path,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
library/configparser,,:Python,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
library/configparser,,`,# Set the optional `raw` argument of get() to True if you wish to disable
library/configparser,,:system,path: ${Common:system_dir}/Library/Frameworks/
library/configparser,,`,# The optional `fallback` argument can be used to provide a fallback value
library/configparser,,`,# The optional `vars` argument is a dict with members that will take
library/datetime,,:MM,
library/datetime,,:SS,
library/decimal,,:optional,"trailneg:optional trailing minus indicator"
library/difflib,,:ahi,a[alo:ahi]
library/difflib,,:bhi,b[blo:bhi]
library/difflib,,:i1,
library/difflib,,:i2,
library/difflib,,:j2,
library/difflib,,:i1,
library/dis,,:TOS,
library/dis,,`,TOS = `TOS`
library/doctest,,`,``factorial`` from the ``example`` module:
@ -44,93 +86,164 @@ library/functions,,:step,a[start:stop:step]
library/functions,,:stop,"a[start:stop, i]"
library/functions,,:stop,a[start:stop:step]
library/hotshot,,:lineno,"ncalls tottime percall cumtime percall filename:lineno(function)"
library/http.client,52,:port,host:port
library/httplib,,:port,host:port
library/imaplib,,:MM,"""DD-Mmm-YYYY HH:MM:SS"
library/imaplib,,:SS,"""DD-Mmm-YYYY HH:MM:SS"
library/itertools,,:stop,elements from seq[start:stop:step]
library/itertools,,:step,elements from seq[start:stop:step]
library/itertools,,:stop,elements from seq[start:stop:step]
library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"
library/logging,,:And,
library/logging,,:Doing,INFO:root:Doing something
library/logging,,:Finished,INFO:root:Finished
library/logging,,:logger,severity:logger name:message
library/logging,,:Look,WARNING:root:Look before you leap!
library/logging,,:message,severity:logger name:message
library/logging,,:package1,
library/logging,,:package2,
library/logging,,:root,
library/logging,,:This,
library/logging,,:port,host:port
library/logging,,:root,
library/logging,,:So,INFO:root:So should this
library/logging,,:So,INFO:So should this
library/logging,,:Started,INFO:root:Started
library/logging,,:This,
library/logging,,:Watch,WARNING:root:Watch out!
library/logging.handlers,,:port,host:port
library/mmap,,:i2,obj[i1:i2]
library/multiprocessing,,:queue,">>> QueueManager.register('get_queue', callable=lambda:queue)"
library/multiprocessing,,`,">>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`"
library/multiprocessing,,`,">>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`"
library/multiprocessing,,`,# `BaseManager`.
library/multiprocessing,,`,# `Pool.imap()` (which will save on the amount of code needed anyway).
library/multiprocessing,,`,# Add more tasks using `put()`
library/multiprocessing,,`,# A test file for the `multiprocessing` package
library/multiprocessing,,`,# A test of `multiprocessing.Pool` class
library/multiprocessing,,`,# Add more tasks using `put()`
library/multiprocessing,,`,# `BaseManager`.
library/multiprocessing,,`,`Cluster` is a subclass of `SyncManager` so it allows creation of
library/multiprocessing,,`,# create server for a `HostManager` object
library/multiprocessing,,`,# Depends on `multiprocessing` package -- tested with `processing-0.60`
library/multiprocessing,,`,`hostname` gives the name of the host. If hostname is not
library/multiprocessing,,`,# in the original order then consider using `Pool.map()` or
library/multiprocessing,,`,">>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`"
library/multiprocessing,,`,">>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`"
library/multiprocessing,,`,# Not sure if we should synchronize access to `socket.accept()` method by
library/multiprocessing,,`,# object. (We import `multiprocessing.reduction` to enable this pickling.)
library/multiprocessing,,`,# `Pool.imap()` (which will save on the amount of code needed anyway).
library/multiprocessing,,:queue,">>> QueueManager.register('get_queue', callable=lambda:queue)"
library/multiprocessing,,`,# register the Foo class; make `f()` and `g()` accessible via proxy
library/multiprocessing,,`,# register the Foo class; make `g()` and `_h()` accessible via proxy
library/multiprocessing,,`,# register the generator function baz; use `GeneratorProxy` to make proxies
library/multiprocessing,,`,`Cluster` is a subclass of `SyncManager` so it allows creation of
library/multiprocessing,,`,`hostname` gives the name of the host. If hostname is not
library/multiprocessing,,`,`slots` is used to specify the number of slots for processes on
library/nntplib,,:bytes,:bytes
library/nntplib,,:bytes,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
library/nntplib,,:lines,:lines
library/nntplib,,:lines,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
library/optparse,,:len,"del parser.rargs[:len(value)]"
library/os.path,,:foo,c:foo
library/parser,,`,"""Make a function that raises an argument to the exponent `exp`."""
library/pdb,,:lineno,filename:lineno
library/pdb,,:lineno,[filename:lineno | bpnumber [bpnumber ...]]
library/pickle,,:memory,"conn = sqlite3.connect("":memory:"")"
library/posix,,`,"CFLAGS=""`getconf LFS_CFLAGS`"" OPT=""-g -O2 $CFLAGS"""
library/profile,,:lineno,ncalls tottime percall cumtime percall filename:lineno(function)
library/pprint,209,::,"'classifiers': ['Development Status :: 4 - Beta',"
library/pprint,209,::,"'Intended Audience :: Developers',"
library/pprint,209,::,"'License :: OSI Approved :: MIT License',"
library/pprint,209,::,"'Natural Language :: English',"
library/pprint,209,::,"'Operating System :: OS Independent',"
library/pprint,209,::,"'Programming Language :: Python',"
library/pprint,209,::,"'Programming Language :: Python :: 2',"
library/pprint,209,::,"'Programming Language :: Python :: 2.6',"
library/pprint,209,::,"'Programming Language :: Python :: 2.7',"
library/pprint,209,::,"'Topic :: Software Development :: Libraries',"
library/pprint,209,::,"'Topic :: Software Development :: Libraries :: Python Modules'],"
library/profile,,:lineno,filename:lineno(function)
library/profile,,:lineno,ncalls tottime percall cumtime percall filename:lineno(function)
library/profile,,:lineno,"(sort by filename:lineno),"
library/pyexpat,,:elem1,<py:elem1 />
library/pyexpat,,:py,"xmlns:py = ""http://www.python.org/ns/"">"
library/repr,,`,"return `obj`"
library/smtplib,,:port,"as well as a regular host:port server."
library/smtplib,,:port,method must support that as well as a regular host:port
library/socket,,::,"(10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]"
library/socket,,::,'5aef:2b::8'
library/sqlite3,,:memory,
library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])"
library/socket,,:len,fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
library/sqlite3,,:age,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
library/sqlite3,,:age,"select name_last, age from people where name_last=:who and age=:age"
library/sqlite3,,:who,"select name_last, age from people where name_last=:who and age=:age"
library/ssl,,:My,"Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc."
library/sqlite3,,:memory,
library/sqlite3,,:who,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
library/ssl,,:My,"Organizational Unit Name (eg, section) []:My Group"
library/ssl,,:My,"Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc."
library/ssl,,:myserver,"Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com"
library/ssl,,:MyState,State or Province Name (full name) [Some-State]:MyState
library/ssl,,:ops,Email Address []:ops@myserver.mygroup.myorganization.com
library/ssl,,:Some,"Locality Name (eg, city) []:Some City"
library/ssl,,:US,Country Name (2 letter code) [AU]:US
library/stdtypes,,::,>>> a[::-1].tolist()
library/stdtypes,,::,>>> a[::2].tolist()
library/stdtypes,,:end,s[start:end]
library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
library/stdtypes,,:len,s[len(s):len(s)]
library/stdtypes,,:len,s[len(s):len(s)]
library/stdtypes,,::,>>> y = m[::2]
library/string,,:end,s[start:end]
library/string,,:end,s[start:end]
library/subprocess,,`,"output=`mycmd myarg`"
library/subprocess,,`,"output=`dmesg | grep hda`"
library/subprocess,,`,"output=`mycmd myarg`"
library/tarfile,,:bz2,
library/tarfile,,:compression,filemode[:compression]
library/tarfile,,:gz,
library/tarfile,,:bz2,
library/tarfile,,:xz,'a:xz'
library/tarfile,,:xz,'r:xz'
library/tarfile,,:xz,'w:xz'
library/time,,:mm,
library/time,,:ss,
library/turtle,,::,Example::
library/urllib,,:port,:port
library/urllib2,,:password,"""joe:password@python.org"""
library/urllib,,:port,:port
library/urllib.request,,:close,Connection:close
library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
library/urllib.request,,:password,"""joe:password@python.org"""
library/uuid,,:uuid,urn:uuid:12345678-1234-5678-1234-567812345678
library/xmlrpc.client,,:pass,http://user:pass@host:port/path
library/xmlrpc.client,,:pass,user:pass
library/xmlrpc.client,,:port,http://user:pass@host:port/path
license,,`,"``Software''), to deal in the Software without restriction, including"
license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
license,,`,THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
license,,:zooko,mailto:zooko@zooko.com
license,,`,THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
reference/datamodel,,:step,a[i:j:step]
packaging/examples,,`,This is the description of the ``foobar`` project.
packaging/setupcfg,,::,Development Status :: 3 - Alpha
packaging/setupcfg,,::,License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
packaging/setupscript,,::,"'Development Status :: 4 - Beta',"
packaging/setupscript,,::,"'Environment :: Console',"
packaging/setupscript,,::,"'Environment :: Web Environment',"
packaging/setupscript,,::,"'Intended Audience :: Developers',"
packaging/setupscript,,::,"'Intended Audience :: End Users/Desktop',"
packaging/setupscript,,::,"'Intended Audience :: System Administrators',"
packaging/setupscript,,::,"'License :: OSI Approved :: Python Software Foundation License',"
packaging/setupscript,,::,"'Operating System :: MacOS :: MacOS X',"
packaging/setupscript,,::,"'Operating System :: Microsoft :: Windows',"
packaging/setupscript,,::,"'Operating System :: POSIX',"
packaging/setupscript,,::,"'Programming Language :: Python',"
packaging/setupscript,,::,"'Topic :: Communications :: Email',"
packaging/setupscript,,::,"'Topic :: Office/Business',"
packaging/setupscript,,::,"'Topic :: Software Development :: Bug Tracking',"
packaging/tutorial,,::,1) License :: OSI Approved :: GNU General Public License (GPL)
packaging/tutorial,,::,2) License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
packaging/tutorial,,::,classifier = Development Status :: 3 - Alpha
packaging/tutorial,,::,License :: OSI Approved :: GNU General Public License (GPL)
packaging/tutorial,,::,Type the number of the license you wish to use or ? to try again:: 1
reference/datamodel,,:max,
reference/expressions,,:index,x[index:index]
reference/datamodel,,:step,a[i:j:step]
reference/expressions,,:datum,{key:datum...}
reference/expressions,,`,`expressions...`
reference/expressions,,:index,x[index:index]
reference/grammar,,:output,#diagram:output
reference/grammar,,:rules,#diagram:rules
reference/grammar,,:token,#diagram:token
reference/grammar,,`,'`' testlist1 '`'
reference/lexical_analysis,,:fileencoding,# vim:fileencoding=<encoding-name>
reference/grammar,,:token,#diagram:token
reference/lexical_analysis,,`,", : . ` = ;"
tutorial/datastructures,,:value,key:value pairs within the braces adds initial key:value pairs
reference/lexical_analysis,,`,$ ? `
reference/lexical_analysis,,:fileencoding,# vim:fileencoding=<encoding-name>
tutorial/datastructures,,:value,It is also possible to delete a key:value
tutorial/stdlib2,,:start,"fields = struct.unpack('<IIIHH', data[start:start+16])"
tutorial/stdlib2,,:start,extra = data[start:start+extra_size]
tutorial/stdlib2,,:start,filename = data[start:start+filenamesize]
tutorial/datastructures,,:value,key:value pairs within the braces adds initial key:value pairs
tutorial/stdlib2,,:config,"logging.warning('Warning:config file %s not found', 'server.conf')"
tutorial/stdlib2,,:config,WARNING:root:Warning:config file server.conf not found
tutorial/stdlib2,,:Critical,CRITICAL:root:Critical error -- shutting down
@ -138,15 +251,16 @@ tutorial/stdlib2,,:Error,ERROR:root:Error occurred
tutorial/stdlib2,,:root,CRITICAL:root:Critical error -- shutting down
tutorial/stdlib2,,:root,ERROR:root:Error occurred
tutorial/stdlib2,,:root,WARNING:root:Warning:config file server.conf not found
tutorial/stdlib2,,:start,extra = data[start:start+extra_size]
tutorial/stdlib2,,:start,"fields = struct.unpack('<IIIHH', data[start:start+16])"
tutorial/stdlib2,,:start,filename = data[start:start+filenamesize]
tutorial/stdlib2,,:Warning,WARNING:root:Warning:config file server.conf not found
using/cmdline,,:line,file:line: category: message
using/cmdline,,:category,action:message:category:module:line
using/cmdline,,:errorhandler,:errorhandler
using/cmdline,,:line,action:message:category:module:line
using/cmdline,,:line,file:line: category: message
using/cmdline,,:message,action:message:category:module:line
using/cmdline,,:module,action:message:category:module:line
using/cmdline,,:errorhandler,:errorhandler
using/windows,162,`,`` this fixes syntax highlighting errors in some editors due to the \\\\ hackery
using/windows,170,`,``
whatsnew/2.0,418,:len,
whatsnew/2.3,,::,
whatsnew/2.3,,:config,
@ -160,148 +274,26 @@ whatsnew/2.4,,:System,
whatsnew/2.5,,:memory,:memory:
whatsnew/2.5,,:step,[start:stop:step]
whatsnew/2.5,,:stop,[start:stop:step]
distutils/examples,267,`,This is the description of the ``foobar`` package.
faq/programming,,:reduce,"print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,"
faq/programming,,:reduce,"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,"
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("
faq/programming,,::,for x in sequence[::-1]:
faq/windows,229,:EOF,@setlocal enableextensions & python -x %~f0 %* & goto :EOF
faq/windows,393,:REG,.py :REG_SZ: c:\<path to python>\python.exe -u %s %s
library/bisect,32,:hi,all(val >= x for val in a[i:hi])
library/bisect,42,:hi,all(val > x for val in a[i:hi])
library/http.client,52,:port,host:port
library/nntplib,,:bytes,:bytes
library/nntplib,,:lines,:lines
library/nntplib,,:lines,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
library/nntplib,,:bytes,"['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']"
library/pickle,,:memory,"conn = sqlite3.connect("":memory:"")"
library/profile,,:lineno,"(sort by filename:lineno),"
library/socket,,::,"(10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]"
library/stdtypes,,:end,s[start:end]
library/stdtypes,,:end,s[start:end]
library/urllib.request,,:close,Connection:close
library/urllib.request,,:password,"""joe:password@python.org"""
library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang=""en"" lang=""en"">\n\n<head>\n"
library/xmlrpc.client,,:pass,http://user:pass@host:port/path
library/xmlrpc.client,,:port,http://user:pass@host:port/path
library/xmlrpc.client,,:pass,user:pass
license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
license,,`,"``Software''), to deal in the Software without restriction, including"
license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"
whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0"
whatsnew/2.7,1619,::,>>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
whatsnew/2.7,1619,::,"ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]',"
library/configparser,,`,# Set the optional `raw` argument of get() to True if you wish to disable
library/configparser,,`,# The optional `vars` argument is a dict with members that will take
library/configparser,,`,# The optional `fallback` argument can be used to provide a fallback value
library/configparser,,:option,${section:option}
library/configparser,,:system,path: ${Common:system_dir}/Library/Frameworks/
library/configparser,,:home,my_dir: ${Common:home_dir}/twosheds
library/configparser,,:path,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
library/configparser,,:Python,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
library/pdb,,:lineno,[filename:lineno | bpnumber [bpnumber ...]]
library/pdb,,:lineno,filename:lineno
library/logging,,:Watch,WARNING:root:Watch out!
library/logging,,:So,INFO:root:So should this
library/logging,,:Started,INFO:root:Started
library/logging,,:Doing,INFO:root:Doing something
library/logging,,:Finished,INFO:root:Finished
library/logging,,:Look,WARNING:root:Look before you leap!
library/logging,,:So,INFO:So should this
library/logging,,:logger,severity:logger name:message
library/logging,,:message,severity:logger name:message
whatsnew/3.2,,:directory,... ${buildout:directory}/downloads/dist
whatsnew/3.2,,:location,... zope9-location = ${zope9:location}
whatsnew/3.2,,:prefix,... zope-conf = ${custom:prefix}/etc/zope.conf
howto/logging,,:root,WARNING:root:Watch out!
howto/logging,,:Watch,WARNING:root:Watch out!
howto/logging,,:root,DEBUG:root:This message should go to the log file
howto/logging,,:This,DEBUG:root:This message should go to the log file
howto/logging,,:root,INFO:root:So should this
howto/logging,,:So,INFO:root:So should this
howto/logging,,:root,"WARNING:root:And this, too"
howto/logging,,:And,"WARNING:root:And this, too"
howto/logging,,:root,INFO:root:Started
howto/logging,,:Started,INFO:root:Started
howto/logging,,:root,INFO:root:Doing something
howto/logging,,:Doing,INFO:root:Doing something
howto/logging,,:root,INFO:root:Finished
howto/logging,,:Finished,INFO:root:Finished
howto/logging,,:root,WARNING:root:Look before you leap!
howto/logging,,:Look,WARNING:root:Look before you leap!
howto/logging,,:This,DEBUG:This message should appear on the console
howto/logging,,:So,INFO:So should this
howto/logging,,:And,"WARNING:And this, too"
howto/logging,,:logger,severity:logger name:message
howto/logging,,:message,severity:logger name:message
library/logging.handlers,,:port,host:port
library/imaplib,116,:MM,"""DD-Mmm-YYYY HH:MM:SS"
library/imaplib,116,:SS,"""DD-Mmm-YYYY HH:MM:SS"
whatsnew/3.2,,::,"$ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::'"
howto/pyporting,75,::,# make sure to use :: Python *and* :: Python :: 3 so
howto/pyporting,75,::,"'Programming Language :: Python',"
howto/pyporting,75,::,'Programming Language :: Python :: 3'
whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:"
whatsnew/3.2,,:directory,${buildout:directory}/downloads/dist
whatsnew/3.2,,:location,zope9-location = ${zope9:location}
whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf
whatsnew/3.2,,:beef,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:cafe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:affe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:deaf,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:beef,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
whatsnew/3.2,,:cafe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
whatsnew/2.7,1619,::,>>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
whatsnew/2.7,862,:Cookie,"export PYTHONWARNINGS=all,error:::Cookie:0"
whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"
whatsnew/3.2,,:affe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
whatsnew/3.2,,:affe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:beef,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
whatsnew/3.2,,:beef,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:cafe,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
whatsnew/3.2,,:cafe,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:deaf,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
whatsnew/3.2,,:deaf,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:directory,... ${buildout:directory}/downloads/dist
whatsnew/3.2,,:directory,${buildout:directory}/downloads/dist
whatsnew/3.2,,::,"$ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::'"
whatsnew/3.2,,:feed,"netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',"
library/pprint,209,::,"'classifiers': ['Development Status :: 4 - Beta',"
library/pprint,209,::,"'Intended Audience :: Developers',"
library/pprint,209,::,"'License :: OSI Approved :: MIT License',"
library/pprint,209,::,"'Natural Language :: English',"
library/pprint,209,::,"'Operating System :: OS Independent',"
library/pprint,209,::,"'Programming Language :: Python',"
library/pprint,209,::,"'Programming Language :: Python :: 2',"
library/pprint,209,::,"'Programming Language :: Python :: 2.6',"
library/pprint,209,::,"'Programming Language :: Python :: 2.7',"
library/pprint,209,::,"'Topic :: Software Development :: Libraries',"
library/pprint,209,::,"'Topic :: Software Development :: Libraries :: Python Modules'],"
packaging/examples,,`,This is the description of the ``foobar`` project.
packaging/setupcfg,,::,Development Status :: 3 - Alpha
packaging/setupcfg,,::,License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
packaging/setupscript,,::,"'Development Status :: 4 - Beta',"
packaging/setupscript,,::,"'Environment :: Console',"
packaging/setupscript,,::,"'Environment :: Web Environment',"
packaging/setupscript,,::,"'Intended Audience :: End Users/Desktop',"
packaging/setupscript,,::,"'Intended Audience :: Developers',"
packaging/setupscript,,::,"'Intended Audience :: System Administrators',"
packaging/setupscript,,::,"'License :: OSI Approved :: Python Software Foundation License',"
packaging/setupscript,,::,"'Operating System :: MacOS :: MacOS X',"
packaging/setupscript,,::,"'Operating System :: Microsoft :: Windows',"
packaging/setupscript,,::,"'Operating System :: POSIX',"
packaging/setupscript,,::,"'Programming Language :: Python',"
packaging/setupscript,,::,"'Topic :: Communications :: Email',"
packaging/setupscript,,::,"'Topic :: Office/Business',"
packaging/setupscript,,::,"'Topic :: Software Development :: Bug Tracking',"
packaging/tutorial,,::,1) License :: OSI Approved :: GNU General Public License (GPL)
packaging/tutorial,,::,2) License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
packaging/tutorial,,::,Type the number of the license you wish to use or ? to try again:: 1
packaging/tutorial,,::,classifier = Development Status :: 3 - Alpha
packaging/tutorial,,::,License :: OSI Approved :: GNU General Public License (GPL)
c-api/unicode,,:start,unicode[start:start+length]
library/smtplib,,:port,method must support that as well as a regular host:port
library/socket,,:len,fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])"
library/sqlite3,,:who,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
library/sqlite3,,:age,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
library/stdtypes,,::,>>> a[::2].tolist()
library/stdtypes,,::,>>> a[::-1].tolist()
library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
library/stdtypes,,::,>>> y = m[::2]
reference/lexical_analysis,,`,$ ? `
library/tarfile,,:xz,'r:xz'
library/tarfile,,:xz,'w:xz'
library/tarfile,,:xz,'a:xz'
whatsnew/3.2,,:feed,>>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2,,:gz,">>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:"
whatsnew/3.2,,:location,... zope9-location = ${zope9:location}
whatsnew/3.2,,:location,zope9-location = ${zope9:location}
whatsnew/3.2,,:prefix,... zope-conf = ${custom:prefix}/etc/zope.conf
whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf

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
c-api/sequence :i2 del o[i1:i2]
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"))
extending/extending :set if (PyArg_ParseTuple(args, "O:set_callback", &temp)) {
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))
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/logging :And WARNING:And this, too
34 howto/logging :And WARNING:root:And this, too
35 howto/logging :Doing INFO:root:Doing something
36 howto/logging :Finished INFO:root:Finished
37 howto/logging :logger severity:logger name:message
38 howto/logging :Look WARNING:root:Look before you leap!
39 howto/logging :message severity:logger name:message
40 howto/logging :root DEBUG:root:This message should go to the log file
41 howto/logging :root INFO:root:Doing something
42 howto/logging :root INFO:root:Finished
43 howto/logging :root INFO:root:So should this
44 howto/logging :root INFO:root:Started
45 howto/logging :root WARNING:root:And this, too
46 howto/logging :root WARNING:root:Look before you leap!
47 howto/logging :root WARNING:root:Watch out!
48 howto/logging :So INFO:root:So should this
49 howto/logging :So INFO:So should this
50 howto/logging :Started INFO:root:Started
51 howto/logging :This DEBUG:root:This message should go to the log file
52 howto/logging :This DEBUG:This message should appear on the console
53 howto/logging :Watch WARNING:root:Watch out!
54 howto/pyporting 75 :: # make sure to use :: Python *and* :: Python :: 3 so
55 howto/pyporting 75 :: 'Programming Language :: Python',
56 howto/pyporting 75 :: 'Programming Language :: Python :: 3'
57 howto/regex ::
58 howto/regex :foo (?:foo)
59 howto/urllib2 :example for example "joe@password:example.com"
60 howto/webservers .. image: .. image:: http.png
61 library/audioop :ipos # factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)],
62 library/bisect 32 :hi all(val >= x for val in a[i:hi])
63 library/bisect 42 :hi all(val > x for val in a[i:hi])
64 library/configparser :home my_dir: ${Common:home_dir}/twosheds
65 library/configparser :option ${section:option}
66 library/configparser :path python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
67 library/configparser :Python python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
68 library/configparser ` # Set the optional `raw` argument of get() to True if you wish to disable
69 library/configparser :system path: ${Common:system_dir}/Library/Frameworks/
70 library/configparser ` # The optional `fallback` argument can be used to provide a fallback value
71 library/configparser ` # The optional `vars` argument is a dict with members that will take
72 library/datetime :MM
73 library/datetime :SS
74 library/decimal :optional trailneg:optional trailing minus indicator
75 library/difflib :ahi a[alo:ahi]
76 library/difflib :bhi b[blo:bhi]
77 library/difflib :i1
78 library/difflib :i2
79 library/difflib :j2
library/difflib :i1
80 library/dis :TOS
81 library/dis ` TOS = `TOS`
82 library/doctest ` ``factorial`` from the ``example`` module:
86 library/functions :stop a[start:stop, i]
87 library/functions :stop a[start:stop:step]
88 library/hotshot :lineno ncalls tottime percall cumtime percall filename:lineno(function)
89 library/http.client 52 :port host:port
90 library/httplib :port host:port
91 library/imaplib :MM "DD-Mmm-YYYY HH:MM:SS
92 library/imaplib :SS "DD-Mmm-YYYY HH:MM:SS
library/itertools :stop elements from seq[start:stop:step]
93 library/itertools :step elements from seq[start:stop:step]
94 library/itertools :stop elements from seq[start:stop:step]
95 library/linecache :sys sys:x:3:3:sys:/dev:/bin/sh
96 library/logging :And
97 library/logging :Doing INFO:root:Doing something
98 library/logging :Finished INFO:root:Finished
99 library/logging :logger severity:logger name:message
100 library/logging :Look WARNING:root:Look before you leap!
101 library/logging :message severity:logger name:message
102 library/logging :package1
103 library/logging :package2
library/logging :root
library/logging :This
104 library/logging :port host:port
105 library/logging :root
106 library/logging :So INFO:root:So should this
107 library/logging :So INFO:So should this
108 library/logging :Started INFO:root:Started
109 library/logging :This
110 library/logging :Watch WARNING:root:Watch out!
111 library/logging.handlers :port host:port
112 library/mmap :i2 obj[i1:i2]
113 library/multiprocessing :queue ` >>> QueueManager.register('get_queue', callable=lambda:queue) # Add more tasks using `put()`
library/multiprocessing ` >>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`
library/multiprocessing ` >>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`
library/multiprocessing ` # `BaseManager`.
library/multiprocessing ` # `Pool.imap()` (which will save on the amount of code needed anyway).
114 library/multiprocessing ` # A test file for the `multiprocessing` package
115 library/multiprocessing ` # A test of `multiprocessing.Pool` class
116 library/multiprocessing ` # Add more tasks using `put()` # `BaseManager`.
117 library/multiprocessing ` `Cluster` is a subclass of `SyncManager` so it allows creation of
118 library/multiprocessing ` # create server for a `HostManager` object
119 library/multiprocessing ` # Depends on `multiprocessing` package -- tested with `processing-0.60`
120 library/multiprocessing ` `hostname` gives the name of the host. If hostname is not
121 library/multiprocessing ` # in the original order then consider using `Pool.map()` or
122 library/multiprocessing ` >>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]`
123 library/multiprocessing ` >>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]`
124 library/multiprocessing ` # Not sure if we should synchronize access to `socket.accept()` method by
125 library/multiprocessing ` # object. (We import `multiprocessing.reduction` to enable this pickling.)
126 library/multiprocessing ` # `Pool.imap()` (which will save on the amount of code needed anyway).
127 library/multiprocessing :queue >>> QueueManager.register('get_queue', callable=lambda:queue)
128 library/multiprocessing ` # register the Foo class; make `f()` and `g()` accessible via proxy
129 library/multiprocessing ` # register the Foo class; make `g()` and `_h()` accessible via proxy
130 library/multiprocessing ` # register the generator function baz; use `GeneratorProxy` to make proxies
library/multiprocessing ` `Cluster` is a subclass of `SyncManager` so it allows creation of
library/multiprocessing ` `hostname` gives the name of the host. If hostname is not
131 library/multiprocessing ` `slots` is used to specify the number of slots for processes on
132 library/nntplib :bytes :bytes
133 library/nntplib :bytes ['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']
134 library/nntplib :lines :lines
135 library/nntplib :lines ['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']
136 library/optparse :len del parser.rargs[:len(value)]
137 library/os.path :foo c:foo
138 library/parser ` "Make a function that raises an argument to the exponent `exp`."
139 library/pdb :lineno filename:lineno
140 library/pdb :lineno [filename:lineno | bpnumber [bpnumber ...]]
141 library/pickle :memory conn = sqlite3.connect(":memory:")
142 library/posix ` CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS"
143 library/profile library/pprint 209 :lineno :: ncalls tottime percall cumtime percall filename:lineno(function) 'classifiers': ['Development Status :: 4 - Beta',
144 library/pprint 209 :: 'Intended Audience :: Developers',
145 library/pprint 209 :: 'License :: OSI Approved :: MIT License',
146 library/pprint 209 :: 'Natural Language :: English',
147 library/pprint 209 :: 'Operating System :: OS Independent',
148 library/pprint 209 :: 'Programming Language :: Python',
149 library/pprint 209 :: 'Programming Language :: Python :: 2',
150 library/pprint 209 :: 'Programming Language :: Python :: 2.6',
151 library/pprint 209 :: 'Programming Language :: Python :: 2.7',
152 library/pprint 209 :: 'Topic :: Software Development :: Libraries',
153 library/pprint 209 :: 'Topic :: Software Development :: Libraries :: Python Modules'],
154 library/profile :lineno filename:lineno(function)
155 library/profile :lineno ncalls tottime percall cumtime percall filename:lineno(function)
156 library/profile :lineno (sort by filename:lineno),
157 library/pyexpat :elem1 <py:elem1 />
158 library/pyexpat :py xmlns:py = "http://www.python.org/ns/">
159 library/repr ` return `obj`
160 library/smtplib :port as well as a regular host:port server.
161 library/smtplib :port method must support that as well as a regular host:port
162 library/socket :: (10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]
163 library/socket :: '5aef:2b::8'
164 library/sqlite3 library/socket :memory :can return (can_id, can_dlc, data[:can_dlc])
165 library/socket :len fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
166 library/sqlite3 :age cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
167 library/sqlite3 :age select name_last, age from people where name_last=:who and age=:age
168 library/sqlite3 :who :memory select name_last, age from people where name_last=:who and age=:age
169 library/ssl library/sqlite3 :My :who Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc. cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
170 library/ssl :My Organizational Unit Name (eg, section) []:My Group
171 library/ssl :My Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc.
172 library/ssl :myserver Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com
173 library/ssl :MyState State or Province Name (full name) [Some-State]:MyState
174 library/ssl :ops Email Address []:ops@myserver.mygroup.myorganization.com
175 library/ssl :Some Locality Name (eg, city) []:Some City
176 library/ssl :US Country Name (2 letter code) [AU]:US
177 library/stdtypes :: >>> a[::-1].tolist()
178 library/stdtypes :: >>> a[::2].tolist()
179 library/stdtypes :end s[start:end]
180 library/stdtypes :: >>> hash(v[::-2]) == hash(b'abcefg'[::-2])
181 library/stdtypes :len s[len(s):len(s)]
182 library/stdtypes :len :: s[len(s):len(s)] >>> y = m[::2]
183 library/string :end s[start:end]
library/string :end s[start:end]
library/subprocess ` output=`mycmd myarg`
184 library/subprocess ` output=`dmesg | grep hda`
185 library/subprocess ` output=`mycmd myarg`
186 library/tarfile :bz2
187 library/tarfile :compression filemode[:compression]
188 library/tarfile :gz
189 library/tarfile :bz2 :xz 'a:xz'
190 library/tarfile :xz 'r:xz'
191 library/tarfile :xz 'w:xz'
192 library/time :mm
193 library/time :ss
194 library/turtle :: Example::
library/urllib :port :port
195 library/urllib2 :password "joe:password@python.org"
196 library/urllib :port :port
197 library/urllib.request :close Connection:close
198 library/urllib.request :lang xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n
199 library/urllib.request :password "joe:password@python.org"
200 library/uuid :uuid urn:uuid:12345678-1234-5678-1234-567812345678
201 library/xmlrpc.client :pass http://user:pass@host:port/path
202 library/xmlrpc.client :pass user:pass
203 library/xmlrpc.client :port http://user:pass@host:port/path
204 license ` ``Software''), to deal in the Software without restriction, including
205 license ` THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
206 license ` * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
207 license ` THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
208 license ` * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
209 license ` THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
210 license :zooko mailto:zooko@zooko.com
211 license packaging/examples ` THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND This is the description of the ``foobar`` project.
212 reference/datamodel packaging/setupcfg :step :: a[i:j:step] Development Status :: 3 - Alpha
213 packaging/setupcfg :: License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
214 packaging/setupscript :: 'Development Status :: 4 - Beta',
215 packaging/setupscript :: 'Environment :: Console',
216 packaging/setupscript :: 'Environment :: Web Environment',
217 packaging/setupscript :: 'Intended Audience :: Developers',
218 packaging/setupscript :: 'Intended Audience :: End Users/Desktop',
219 packaging/setupscript :: 'Intended Audience :: System Administrators',
220 packaging/setupscript :: 'License :: OSI Approved :: Python Software Foundation License',
221 packaging/setupscript :: 'Operating System :: MacOS :: MacOS X',
222 packaging/setupscript :: 'Operating System :: Microsoft :: Windows',
223 packaging/setupscript :: 'Operating System :: POSIX',
224 packaging/setupscript :: 'Programming Language :: Python',
225 packaging/setupscript :: 'Topic :: Communications :: Email',
226 packaging/setupscript :: 'Topic :: Office/Business',
227 packaging/setupscript :: 'Topic :: Software Development :: Bug Tracking',
228 packaging/tutorial :: 1) License :: OSI Approved :: GNU General Public License (GPL)
229 packaging/tutorial :: 2) License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
230 packaging/tutorial :: classifier = Development Status :: 3 - Alpha
231 packaging/tutorial :: License :: OSI Approved :: GNU General Public License (GPL)
232 packaging/tutorial :: Type the number of the license you wish to use or ? to try again:: 1
233 reference/datamodel :max
234 reference/expressions reference/datamodel :index :step x[index:index] a[i:j:step]
235 reference/expressions :datum {key:datum...}
236 reference/expressions ` `expressions...`
237 reference/expressions :index x[index:index]
238 reference/grammar :output #diagram:output
239 reference/grammar :rules #diagram:rules
reference/grammar :token #diagram:token
240 reference/grammar ` '`' testlist1 '`'
241 reference/lexical_analysis reference/grammar :fileencoding :token # vim:fileencoding=<encoding-name> #diagram:token
242 reference/lexical_analysis ` , : . ` = ;
243 tutorial/datastructures reference/lexical_analysis :value ` key:value pairs within the braces adds initial key:value pairs $ ? `
244 reference/lexical_analysis :fileencoding # vim:fileencoding=<encoding-name>
245 tutorial/datastructures :value It is also possible to delete a key:value
246 tutorial/stdlib2 tutorial/datastructures :start :value fields = struct.unpack('<IIIHH', data[start:start+16]) key:value pairs within the braces adds initial key:value pairs
tutorial/stdlib2 :start extra = data[start:start+extra_size]
tutorial/stdlib2 :start filename = data[start:start+filenamesize]
247 tutorial/stdlib2 :config logging.warning('Warning:config file %s not found', 'server.conf')
248 tutorial/stdlib2 :config WARNING:root:Warning:config file server.conf not found
249 tutorial/stdlib2 :Critical CRITICAL:root:Critical error -- shutting down
251 tutorial/stdlib2 :root CRITICAL:root:Critical error -- shutting down
252 tutorial/stdlib2 :root ERROR:root:Error occurred
253 tutorial/stdlib2 :root WARNING:root:Warning:config file server.conf not found
254 tutorial/stdlib2 :start extra = data[start:start+extra_size]
255 tutorial/stdlib2 :start fields = struct.unpack('<IIIHH', data[start:start+16])
256 tutorial/stdlib2 :start filename = data[start:start+filenamesize]
257 tutorial/stdlib2 :Warning WARNING:root:Warning:config file server.conf not found
using/cmdline :line file:line: category: message
258 using/cmdline :category action:message:category:module:line
259 using/cmdline :errorhandler :errorhandler
260 using/cmdline :line action:message:category:module:line
261 using/cmdline :line file:line: category: message
262 using/cmdline :message action:message:category:module:line
263 using/cmdline :module action:message:category:module:line
using/cmdline :errorhandler :errorhandler
using/windows 162 ` `` this fixes syntax highlighting errors in some editors due to the \\\\ hackery
using/windows 170 ` ``
264 whatsnew/2.0 418 :len
265 whatsnew/2.3 ::
266 whatsnew/2.3 :config
274 whatsnew/2.5 :memory :memory:
275 whatsnew/2.5 :step [start:stop:step]
276 whatsnew/2.5 :stop [start:stop:step]
distutils/examples 267 ` This is the description of the ``foobar`` package.
faq/programming :reduce print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,
faq/programming :reduce Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,
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(
faq/programming :: for x in sequence[::-1]:
faq/windows 229 :EOF @setlocal enableextensions & python -x %~f0 %* & goto :EOF
faq/windows 393 :REG .py :REG_SZ: c:\<path to python>\python.exe -u %s %s
library/bisect 32 :hi all(val >= x for val in a[i:hi])
library/bisect 42 :hi all(val > x for val in a[i:hi])
library/http.client 52 :port host:port
library/nntplib :bytes :bytes
library/nntplib :lines :lines
library/nntplib :lines ['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']
library/nntplib :bytes ['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject']
library/pickle :memory conn = sqlite3.connect(":memory:")
library/profile :lineno (sort by filename:lineno),
library/socket :: (10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))]
library/stdtypes :end s[start:end]
library/stdtypes :end s[start:end]
library/urllib.request :close Connection:close
library/urllib.request :password "joe:password@python.org"
library/urllib.request :lang xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n
library/xmlrpc.client :pass http://user:pass@host:port/path
library/xmlrpc.client :port http://user:pass@host:port/path
library/xmlrpc.client :pass user:pass
license ` * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
license ` * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
license ` ``Software''), to deal in the Software without restriction, including
license ` THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
whatsnew/2.7 735 :Sunday '2009:4:Sunday'
whatsnew/2.7 862 :: export PYTHONWARNINGS=all,error:::Cookie:0
whatsnew/2.7 862 :Cookie export PYTHONWARNINGS=all,error:::Cookie:0
whatsnew/2.7 1619 :: >>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
277 whatsnew/2.7 1619 :: ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]',
278 library/configparser whatsnew/2.7 1619 ` :: # Set the optional `raw` argument of get() to True if you wish to disable >>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo')
279 library/configparser whatsnew/2.7 735 ` :Sunday # The optional `vars` argument is a dict with members that will take '2009:4:Sunday'
280 library/configparser whatsnew/2.7 862 ` :Cookie # The optional `fallback` argument can be used to provide a fallback value export PYTHONWARNINGS=all,error:::Cookie:0
281 library/configparser whatsnew/2.7 862 :option :: ${section:option} export PYTHONWARNINGS=all,error:::Cookie:0
library/configparser :system path: ${Common:system_dir}/Library/Frameworks/
library/configparser :home my_dir: ${Common:home_dir}/twosheds
library/configparser :path python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
library/configparser :Python python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
library/pdb :lineno [filename:lineno | bpnumber [bpnumber ...]]
library/pdb :lineno filename:lineno
library/logging :Watch WARNING:root:Watch out!
library/logging :So INFO:root:So should this
library/logging :Started INFO:root:Started
library/logging :Doing INFO:root:Doing something
library/logging :Finished INFO:root:Finished
library/logging :Look WARNING:root:Look before you leap!
library/logging :So INFO:So should this
library/logging :logger severity:logger name:message
library/logging :message severity:logger name:message
whatsnew/3.2 :directory ... ${buildout:directory}/downloads/dist
whatsnew/3.2 :location ... zope9-location = ${zope9:location}
whatsnew/3.2 :prefix ... zope-conf = ${custom:prefix}/etc/zope.conf
howto/logging :root WARNING:root:Watch out!
howto/logging :Watch WARNING:root:Watch out!
howto/logging :root DEBUG:root:This message should go to the log file
howto/logging :This DEBUG:root:This message should go to the log file
howto/logging :root INFO:root:So should this
howto/logging :So INFO:root:So should this
howto/logging :root WARNING:root:And this, too
howto/logging :And WARNING:root:And this, too
howto/logging :root INFO:root:Started
howto/logging :Started INFO:root:Started
howto/logging :root INFO:root:Doing something
howto/logging :Doing INFO:root:Doing something
howto/logging :root INFO:root:Finished
howto/logging :Finished INFO:root:Finished
howto/logging :root WARNING:root:Look before you leap!
howto/logging :Look WARNING:root:Look before you leap!
howto/logging :This DEBUG:This message should appear on the console
howto/logging :So INFO:So should this
howto/logging :And WARNING:And this, too
howto/logging :logger severity:logger name:message
howto/logging :message severity:logger name:message
library/logging.handlers :port host:port
library/imaplib 116 :MM "DD-Mmm-YYYY HH:MM:SS
library/imaplib 116 :SS "DD-Mmm-YYYY HH:MM:SS
whatsnew/3.2 :: $ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::'
howto/pyporting 75 :: # make sure to use :: Python *and* :: Python :: 3 so
howto/pyporting 75 :: 'Programming Language :: Python',
howto/pyporting 75 :: 'Programming Language :: Python :: 3'
whatsnew/3.2 :gz >>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:
whatsnew/3.2 :directory ${buildout:directory}/downloads/dist
whatsnew/3.2 :location zope9-location = ${zope9:location}
whatsnew/3.2 :prefix zope-conf = ${custom:prefix}/etc/zope.conf
whatsnew/3.2 :beef >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2 :cafe >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2 :affe >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2 :deaf >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2 :feed >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
whatsnew/3.2 :beef netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
whatsnew/3.2 :cafe netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
282 whatsnew/3.2 :affe netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
283 whatsnew/3.2 :affe >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
284 whatsnew/3.2 :beef netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
285 whatsnew/3.2 :beef >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
286 whatsnew/3.2 :cafe netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
287 whatsnew/3.2 :cafe >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
288 whatsnew/3.2 :deaf netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
289 whatsnew/3.2 :deaf >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
290 whatsnew/3.2 :directory ... ${buildout:directory}/downloads/dist
291 whatsnew/3.2 :directory ${buildout:directory}/downloads/dist
292 whatsnew/3.2 :: $ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::'
293 whatsnew/3.2 :feed netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]',
294 library/pprint whatsnew/3.2 209 :: :feed 'classifiers': ['Development Status :: 4 - Beta', >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/')
295 library/pprint whatsnew/3.2 209 :: :gz 'Intended Audience :: Developers', >>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf:
296 library/pprint whatsnew/3.2 209 :: :location 'License :: OSI Approved :: MIT License', ... zope9-location = ${zope9:location}
297 library/pprint whatsnew/3.2 209 :: :location 'Natural Language :: English', zope9-location = ${zope9:location}
298 library/pprint whatsnew/3.2 209 :: :prefix 'Operating System :: OS Independent', ... zope-conf = ${custom:prefix}/etc/zope.conf
299 library/pprint whatsnew/3.2 209 :: :prefix 'Programming Language :: Python', zope-conf = ${custom:prefix}/etc/zope.conf
library/pprint 209 :: 'Programming Language :: Python :: 2',
library/pprint 209 :: 'Programming Language :: Python :: 2.6',
library/pprint 209 :: 'Programming Language :: Python :: 2.7',
library/pprint 209 :: 'Topic :: Software Development :: Libraries',
library/pprint 209 :: 'Topic :: Software Development :: Libraries :: Python Modules'],
packaging/examples ` This is the description of the ``foobar`` project.
packaging/setupcfg :: Development Status :: 3 - Alpha
packaging/setupcfg :: License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
packaging/setupscript :: 'Development Status :: 4 - Beta',
packaging/setupscript :: 'Environment :: Console',
packaging/setupscript :: 'Environment :: Web Environment',
packaging/setupscript :: 'Intended Audience :: End Users/Desktop',
packaging/setupscript :: 'Intended Audience :: Developers',
packaging/setupscript :: 'Intended Audience :: System Administrators',
packaging/setupscript :: 'License :: OSI Approved :: Python Software Foundation License',
packaging/setupscript :: 'Operating System :: MacOS :: MacOS X',
packaging/setupscript :: 'Operating System :: Microsoft :: Windows',
packaging/setupscript :: 'Operating System :: POSIX',
packaging/setupscript :: 'Programming Language :: Python',
packaging/setupscript :: 'Topic :: Communications :: Email',
packaging/setupscript :: 'Topic :: Office/Business',
packaging/setupscript :: 'Topic :: Software Development :: Bug Tracking',
packaging/tutorial :: 1) License :: OSI Approved :: GNU General Public License (GPL)
packaging/tutorial :: 2) License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
packaging/tutorial :: Type the number of the license you wish to use or ? to try again:: 1
packaging/tutorial :: classifier = Development Status :: 3 - Alpha
packaging/tutorial :: License :: OSI Approved :: GNU General Public License (GPL)
c-api/unicode :start unicode[start:start+length]
library/smtplib :port method must support that as well as a regular host:port
library/socket :len fds.fromstring(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
library/socket :can return (can_id, can_dlc, data[:can_dlc])
library/sqlite3 :who cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
library/sqlite3 :age cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
library/stdtypes :: >>> a[::2].tolist()
library/stdtypes :: >>> a[::-1].tolist()
library/stdtypes :: >>> hash(v[::-2]) == hash(b'abcefg'[::-2])
library/stdtypes :: >>> y = m[::2]
reference/lexical_analysis ` $ ? `
library/tarfile :xz 'r:xz'
library/tarfile :xz 'w:xz'
library/tarfile :xz 'a:xz'