mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
30 KiB
30 KiB
| 1 | c-api/arg | :ref | PyArg_ParseTuple(args, "O|O:ref", &object, &callback) | |
|---|---|---|---|---|
| 2 | c-api/list | :high | list[low:high] | |
| 3 | c-api/list | :high | list[low:high] = itemlist | |
| 4 | c-api/sequence | :i2 | o[i1:i2] | |
| 5 | c-api/sequence | :i2 | o[i1:i2] = v | |
| 6 | c-api/sequence | :i2 | del o[i1:i2] | |
| 7 | c-api/unicode | :end | str[start:end] | |
| 8 | distutils/setupscript | :: | ||
| 9 | extending/embedding | :numargs | if(!PyArg_ParseTuple(args, ":numargs")) | |
| 10 | extending/extending | :set | if (PyArg_ParseTuple(args, "O:set_callback", &temp)) { | |
| 11 | extending/extending | :myfunction | PyArg_ParseTuple(args, "D:myfunction", &c); | |
| 12 | extending/newtypes | :call | if (!PyArg_ParseTuple(args, "sss:call", &arg1, &arg2, &arg3)) { | |
| 13 | extending/windows | :initspam | /export:initspam | |
| 14 | howto/cporting | :add | if (!PyArg_ParseTuple(args, "ii:add_ints", &one, &two)) | |
| 15 | howto/cporting | :encode | if (!PyArg_ParseTuple(args, "O:encode_object", &myobj)) | |
| 16 | howto/cporting | :say | if (!PyArg_ParseTuple(args, "U:say_hello", &name)) | |
| 17 | howto/curses | :black | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
| 18 | howto/curses | :blue | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
| 19 | howto/curses | :cyan | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
| 20 | howto/curses | :green | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
| 21 | howto/curses | :magenta | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
| 22 | howto/curses | :red | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
| 23 | howto/curses | :white | 7:white. | |
| 24 | howto/curses | :yellow | They are: 0:black, 1:red, 2:green, 3:yellow, 4:blue, 5:magenta, 6:cyan, and | |
| 25 | howto/regex | :: | ||
| 26 | howto/regex | :foo | (?:foo) | |
| 27 | howto/urllib2 | :example | for example "joe@password:example.com" | |
| 28 | howto/webservers | .. image: | .. image:: http.png | |
| 29 | library/audioop | :ipos | # factor = audioop.findfactor(in_test[ipos*2:ipos*2+len(out_test)], | |
| 30 | library/datetime | :MM | ||
| 31 | library/datetime | :SS | ||
| 32 | library/decimal | :optional | trailneg:optional trailing minus indicator | |
| 33 | library/difflib | :ahi | a[alo:ahi] | |
| 34 | library/difflib | :bhi | b[blo:bhi] | |
| 35 | library/difflib | :i2 | ||
| 36 | library/difflib | :j2 | ||
| 37 | library/difflib | :i1 | ||
| 38 | library/dis | :TOS | ||
| 39 | library/dis | ` | TOS = `TOS` | |
| 40 | library/doctest | ` | ``factorial`` from the ``example`` module: | |
| 41 | library/doctest | ` | The ``example`` module | |
| 42 | library/doctest | ` | Using ``factorial`` | |
| 43 | library/functions | :step | a[start:stop:step] | |
| 44 | library/functions | :stop | a[start:stop, i] | |
| 45 | library/functions | :stop | a[start:stop:step] | |
| 46 | library/hotshot | :lineno | ncalls tottime percall cumtime percall filename:lineno(function) | |
| 47 | library/httplib | :port | host:port | |
| 48 | library/imaplib | :MM | "DD-Mmm-YYYY HH:MM:SS | |
| 49 | library/imaplib | :SS | "DD-Mmm-YYYY HH:MM:SS | |
| 50 | library/itertools | :stop | elements from seq[start:stop:step] | |
| 51 | library/itertools | :step | elements from seq[start:stop:step] | |
| 52 | library/linecache | :sys | sys:x:3:3:sys:/dev:/bin/sh | |
| 53 | library/logging | :And | ||
| 54 | library/logging | :package1 | ||
| 55 | library/logging | :package2 | ||
| 56 | library/logging | :root | ||
| 57 | library/logging | :This | ||
| 58 | library/logging | :port | host:port | |
| 59 | library/mmap | :i2 | obj[i1:i2] | |
| 60 | library/multiprocessing | :queue | >>> QueueManager.register('get_queue', callable=lambda:queue) | |
| 61 | library/multiprocessing | ` | >>> l._callmethod('__getitem__', (20,)) # equiv to `l[20]` | |
| 62 | library/multiprocessing | ` | >>> l._callmethod('__getslice__', (2, 7)) # equiv to `l[2:7]` | |
| 63 | library/multiprocessing | ` | # `BaseManager`. | |
| 64 | library/multiprocessing | ` | # `Pool.imap()` (which will save on the amount of code needed anyway). | |
| 65 | library/multiprocessing | ` | # A test file for the `multiprocessing` package | |
| 66 | library/multiprocessing | ` | # A test of `multiprocessing.Pool` class | |
| 67 | library/multiprocessing | ` | # Add more tasks using `put()` | |
| 68 | library/multiprocessing | ` | # create server for a `HostManager` object | |
| 69 | library/multiprocessing | ` | # Depends on `multiprocessing` package -- tested with `processing-0.60` | |
| 70 | library/multiprocessing | ` | # in the original order then consider using `Pool.map()` or | |
| 71 | library/multiprocessing | ` | # Not sure if we should synchronize access to `socket.accept()` method by | |
| 72 | library/multiprocessing | ` | # object. (We import `multiprocessing.reduction` to enable this pickling.) | |
| 73 | library/multiprocessing | ` | # register the Foo class; make `f()` and `g()` accessible via proxy | |
| 74 | library/multiprocessing | ` | # register the Foo class; make `g()` and `_h()` accessible via proxy | |
| 75 | library/multiprocessing | ` | # register the generator function baz; use `GeneratorProxy` to make proxies | |
| 76 | library/multiprocessing | ` | `Cluster` is a subclass of `SyncManager` so it allows creation of | |
| 77 | library/multiprocessing | ` | `hostname` gives the name of the host. If hostname is not | |
| 78 | library/multiprocessing | ` | `slots` is used to specify the number of slots for processes on | |
| 79 | library/optparse | :len | del parser.rargs[:len(value)] | |
| 80 | library/os.path | :foo | c:foo | |
| 81 | library/parser | ` | "Make a function that raises an argument to the exponent `exp`." | |
| 82 | library/posix | ` | CFLAGS="`getconf LFS_CFLAGS`" OPT="-g -O2 $CFLAGS" | |
| 83 | library/profile | :lineno | ncalls tottime percall cumtime percall filename:lineno(function) | |
| 84 | library/profile | :lineno | filename:lineno(function) | |
| 85 | library/pyexpat | :elem1 | <py:elem1 /> | |
| 86 | library/pyexpat | :py | xmlns:py = "http://www.python.org/ns/"> | |
| 87 | library/repr | ` | return `obj` | |
| 88 | library/smtplib | :port | as well as a regular host:port server. | |
| 89 | library/socket | :: | '5aef:2b::8' | |
| 90 | library/sqlite3 | :memory | ||
| 91 | library/sqlite3 | :age | select name_last, age from people where name_last=:who and age=:age | |
| 92 | library/sqlite3 | :who | select name_last, age from people where name_last=:who and age=:age | |
| 93 | library/ssl | :My | Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc. | |
| 94 | library/ssl | :My | Organizational Unit Name (eg, section) []:My Group | |
| 95 | library/ssl | :myserver | Common Name (eg, YOUR name) []:myserver.mygroup.myorganization.com | |
| 96 | library/ssl | :MyState | State or Province Name (full name) [Some-State]:MyState | |
| 97 | library/ssl | :ops | Email Address []:ops@myserver.mygroup.myorganization.com | |
| 98 | library/ssl | :Some | Locality Name (eg, city) []:Some City | |
| 99 | library/ssl | :US | Country Name (2 letter code) [AU]:US | |
| 100 | library/stdtypes | :len | s[len(s):len(s)] | |
| 101 | library/stdtypes | :len | s[len(s):len(s)] | |
| 102 | library/string | :end | s[start:end] | |
| 103 | library/string | :end | s[start:end] | |
| 104 | library/subprocess | ` | output=`mycmd myarg` | |
| 105 | library/subprocess | ` | output=`dmesg | grep hda` | |
| 106 | library/tarfile | :compression | filemode[:compression] | |
| 107 | library/tarfile | :gz | ||
| 108 | library/tarfile | :bz2 | ||
| 109 | library/time | :mm | ||
| 110 | library/time | :ss | ||
| 111 | library/turtle | :: | Example:: | |
| 112 | library/urllib | :port | :port | |
| 113 | library/urllib2 | :password | "joe:password@python.org" | |
| 114 | library/uuid | :uuid | urn:uuid:12345678-1234-5678-1234-567812345678 | |
| 115 | library/xmlrpclib | :pass | http://user:pass@host:port/path | |
| 116 | library/xmlrpclib | :pass | user:pass | |
| 117 | library/xmlrpclib | :port | http://user:pass@host:port/path | |
| 118 | license | ` | THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND | |
| 119 | license | :zooko | mailto:zooko@zooko.com | |
| 120 | license | ` | THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | |
| 121 | reference/datamodel | :step | a[i:j:step] | |
| 122 | reference/datamodel | :max | ||
| 123 | reference/expressions | :index | x[index:index] | |
| 124 | reference/expressions | :datum | {key:datum...} | |
| 125 | reference/expressions | ` | `expressions...` | |
| 126 | reference/grammar | :output | #diagram:output | |
| 127 | reference/grammar | :rules | #diagram:rules | |
| 128 | reference/grammar | :token | #diagram:token | |
| 129 | reference/grammar | ` | '`' testlist1 '`' | |
| 130 | reference/lexical_analysis | :fileencoding | # vim:fileencoding=<encoding-name> | |
| 131 | reference/lexical_analysis | ` | , : . ` = ; | |
| 132 | tutorial/datastructures | :value | key:value pairs within the braces adds initial key:value pairs | |
| 133 | tutorial/datastructures | :value | It is also possible to delete a key:value | |
| 134 | tutorial/stdlib2 | :start | fields = struct.unpack('<IIIHH', data[start:start+16]) | |
| 135 | tutorial/stdlib2 | :start | extra = data[start:start+extra_size] | |
| 136 | tutorial/stdlib2 | :start | filename = data[start:start+filenamesize] | |
| 137 | tutorial/stdlib2 | :config | logging.warning('Warning:config file %s not found', 'server.conf') | |
| 138 | tutorial/stdlib2 | :config | WARNING:root:Warning:config file server.conf not found | |
| 139 | tutorial/stdlib2 | :Critical | CRITICAL:root:Critical error -- shutting down | |
| 140 | tutorial/stdlib2 | :Error | ERROR:root:Error occurred | |
| 141 | tutorial/stdlib2 | :root | CRITICAL:root:Critical error -- shutting down | |
| 142 | tutorial/stdlib2 | :root | ERROR:root:Error occurred | |
| 143 | tutorial/stdlib2 | :root | WARNING:root:Warning:config file server.conf not found | |
| 144 | tutorial/stdlib2 | :Warning | WARNING:root:Warning:config file server.conf not found | |
| 145 | using/cmdline | :line | file:line: category: message | |
| 146 | using/cmdline | :category | action:message:category:module:line | |
| 147 | using/cmdline | :line | action:message:category:module:line | |
| 148 | using/cmdline | :message | action:message:category:module:line | |
| 149 | using/cmdline | :module | action:message:category:module:line | |
| 150 | using/cmdline | :errorhandler | :errorhandler | |
| 151 | using/windows | 162 | ` | `` this fixes syntax highlighting errors in some editors due to the \\\\ hackery |
| 152 | using/windows | 170 | ` | `` |
| 153 | whatsnew/2.0 | 418 | :len | |
| 154 | whatsnew/2.3 | :: | ||
| 155 | whatsnew/2.3 | :config | ||
| 156 | whatsnew/2.3 | :Critical | ||
| 157 | whatsnew/2.3 | :Error | ||
| 158 | whatsnew/2.3 | :Problem | ||
| 159 | whatsnew/2.3 | :root | ||
| 160 | whatsnew/2.3 | :Warning | ||
| 161 | whatsnew/2.4 | :: | ||
| 162 | whatsnew/2.4 | :System | ||
| 163 | whatsnew/2.5 | :memory | :memory: | |
| 164 | whatsnew/2.5 | :step | [start:stop:step] | |
| 165 | whatsnew/2.5 | :stop | [start:stop:step] | |
| 166 | distutils/examples | 267 | ` | This is the description of the ``foobar`` package. |
| 167 | documenting/fromlatex | 39 | :func | :func:`str(object)` |
| 168 | documenting/fromlatex | 39 | ` | :func:`str(object)` |
| 169 | documenting/fromlatex | 39 | ` | ``str(object)`` |
| 170 | documenting/fromlatex | 55 | .. deprecated: | .. deprecated:: 2.5 |
| 171 | documenting/fromlatex | 66 | .. note: | .. note:: |
| 172 | documenting/fromlatex | 76 | :samp | :samp:`open({filename}, {mode})` |
| 173 | documenting/fromlatex | 76 | ` | :samp:`open({filename}, {mode})` |
| 174 | documenting/fromlatex | 80 | ` | ``'c'`` |
| 175 | documenting/fromlatex | 80 | ` | `Title <URL>`_ |
| 176 | documenting/fromlatex | 80 | ` | ``code`` |
| 177 | documenting/fromlatex | 80 | ` | `Title <URL>`_ |
| 178 | documenting/fromlatex | 99 | :file | :file:`C:\\Temp\\my.tmp` |
| 179 | documenting/fromlatex | 99 | ` | :file:`C:\\Temp\\my.tmp` |
| 180 | documenting/fromlatex | 99 | ` | ``open("C:\Temp\my.tmp")`` |
| 181 | documenting/fromlatex | 129 | .. function: | .. function:: do_foo(bar) |
| 182 | documenting/fromlatex | 141 | .. function: | .. function:: open(filename[, mode[, buffering]]) |
| 183 | documenting/fromlatex | 152 | .. function: | .. function:: foo_* |
| 184 | documenting/fromlatex | 152 | :noindex | :noindex: |
| 185 | documenting/fromlatex | 162 | .. describe: | .. describe:: a == b |
| 186 | documenting/fromlatex | 168 | .. cmdoption: | .. cmdoption:: -O |
| 187 | documenting/fromlatex | 168 | .. envvar: | .. envvar:: PYTHONINSPECT |
| 188 | documenting/markup | 33 | .. sectionauthor: | .. sectionauthor:: Guido van Rossum <guido@python.org> |
| 189 | documenting/markup | 42 | :mod | :mod:`parrot` -- Dead parrot access |
| 190 | documenting/markup | 42 | ` | :mod:`parrot` -- Dead parrot access |
| 191 | documenting/markup | 42 | .. module: | .. module:: parrot |
| 192 | documenting/markup | 42 | :platform | :platform: Unix, Windows |
| 193 | documenting/markup | 42 | :synopsis | :synopsis: Analyze and reanimate dead parrots. |
| 194 | documenting/markup | 42 | .. moduleauthor: | .. moduleauthor:: Eric Cleese <eric@python.invalid> |
| 195 | documenting/markup | 42 | .. moduleauthor: | .. moduleauthor:: John Idle <john@python.invalid> |
| 196 | documenting/markup | 88 | :noindex | :noindex: |
| 197 | documenting/markup | 95 | .. function: | .. function:: spam(eggs) |
| 198 | documenting/markup | 95 | :noindex | :noindex: |
| 199 | documenting/markup | 101 | .. method: | .. method:: FileInput.input(...) |
| 200 | documenting/markup | 121 | :function | c:function |
| 201 | documenting/markup | 121 | .. c: | .. c:function:: PyObject* PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems) |
| 202 | documenting/markup | 121 | :: | .. c:function:: PyObject* PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems) |
| 203 | documenting/markup | 131 | :member | c:member |
| 204 | documenting/markup | 131 | .. c: | .. c:member:: PyObject* PyTypeObject.tp_bases |
| 205 | documenting/markup | 131 | :: | .. c:member:: PyObject* PyTypeObject.tp_bases |
| 206 | documenting/markup | 139 | :macro | c:macro |
| 207 | documenting/markup | 143 | :type | c:type |
| 208 | documenting/markup | 150 | :var | c:var |
| 209 | documenting/markup | 150 | .. cvar: | .. cvar:: PyObject* PyClass_Type |
| 210 | documenting/markup | 179 | .. function: | .. function:: Timer.repeat([repeat=3[, number=1000000]]) |
| 211 | documenting/markup | 210 | .. decorator: | .. decorator:: removename |
| 212 | documenting/markup | 210 | .. decorator: | .. decorator:: setnewname(name) |
| 213 | documenting/markup | 210 | :func | :func: |
| 214 | documenting/markup | 233 | :meth | :meth: |
| 215 | documenting/markup | 246 | .. cmdoption: | .. cmdoption:: -m <module> |
| 216 | documenting/markup | 264 | .. describe: | .. describe:: opcode |
| 217 | documenting/markup | 293 | .. highlightlang: | .. highlightlang:: c |
| 218 | documenting/markup | 313 | .. literalinclude: | .. literalinclude:: example.py |
| 219 | documenting/markup | 328 | :rolename | :rolename:`content` |
| 220 | documenting/markup | 328 | ` | :rolename:`content` |
| 221 | documenting/markup | 333 | :role | :role:`title <target>` |
| 222 | documenting/markup | 333 | ` | :role:`title <target>` |
| 223 | documenting/markup | 339 | :meth | :meth:`~Queue.Queue.get` |
| 224 | documenting/markup | 339 | ` | :meth:`~Queue.Queue.get` |
| 225 | documenting/markup | 387 | :func | :func:`filter` |
| 226 | documenting/markup | 387 | ` | :func:`filter` |
| 227 | documenting/markup | 387 | :func | :func:`foo.filter` |
| 228 | documenting/markup | 387 | ` | :func:`foo.filter` |
| 229 | documenting/markup | 393 | :func | :func:`open` |
| 230 | documenting/markup | 393 | ` | :func:`open` |
| 231 | documenting/markup | 393 | :func | :func:`.open` |
| 232 | documenting/markup | 393 | ` | :func:`.open` |
| 233 | documenting/markup | 409 | :data | c:data |
| 234 | documenting/markup | 413 | :func | c:func |
| 235 | documenting/markup | 417 | :macro | c:macro |
| 236 | documenting/markup | 421 | :type | c:type |
| 237 | documenting/markup | 426 | :member | c:member |
| 238 | documenting/markup | 476 | :file | ... is installed in :file:`/usr/lib/python2.{x}/site-packages` ... |
| 239 | documenting/markup | 476 | ` | ... is installed in :file:`/usr/lib/python2.{x}/site-packages` ... |
| 240 | documenting/markup | 495 | :kbd | :kbd:`C-x C-f` |
| 241 | documenting/markup | 495 | ` | :kbd:`C-x C-f` |
| 242 | documenting/markup | 495 | :kbd | :kbd:`Control-x Control-f` |
| 243 | documenting/markup | 495 | ` | :kbd:`Control-x Control-f` |
| 244 | documenting/markup | 509 | :mailheader | :mailheader:`Content-Type` |
| 245 | documenting/markup | 509 | ` | :mailheader:`Content-Type` |
| 246 | documenting/markup | 518 | :manpage | :manpage:`ls(1)` |
| 247 | documenting/markup | 518 | ` | :manpage:`ls(1)` |
| 248 | documenting/markup | 534 | :menuselection | :menuselection:`Start --> Programs` |
| 249 | documenting/markup | 534 | ` | :menuselection:`Start --> Programs` |
| 250 | documenting/markup | 549 | ` | ``code`` |
| 251 | documenting/markup | 567 | :file | :file: |
| 252 | documenting/markup | 567 | ` | ``code`` |
| 253 | documenting/markup | 602 | :ref | :ref:`label-name` |
| 254 | documenting/markup | 602 | ` | :ref:`label-name` |
| 255 | documenting/markup | 606 | :ref | It refers to the section itself, see :ref:`my-reference-label`. |
| 256 | documenting/markup | 606 | ` | It refers to the section itself, see :ref:`my-reference-label`. |
| 257 | documenting/markup | 615 | :ref | :ref: |
| 258 | documenting/markup | 636 | .. note: | .. note:: |
| 259 | documenting/markup | 663 | .. versionadded: | .. versionadded:: 3.1 |
| 260 | documenting/markup | 688 | :: | .. impl-detail:: |
| 261 | documenting/markup | 688 | :: | .. impl-detail:: This shortly mentions an implementation detail. |
| 262 | documenting/markup | 708 | .. seealso: | .. seealso:: |
| 263 | documenting/markup | 708 | :mod | Module :mod:`zipfile` |
| 264 | documenting/markup | 708 | ` | Module :mod:`zipfile` |
| 265 | documenting/markup | 708 | :mod | Documentation of the :mod:`zipfile` standard module. |
| 266 | documenting/markup | 708 | ` | Documentation of the :mod:`zipfile` standard module. |
| 267 | documenting/markup | 708 | ` | `GNU tar manual, Basic Tar Format <http://link>`_ |
| 268 | documenting/markup | 722 | .. centered: | .. centered:: |
| 269 | documenting/markup | 767 | .. toctree: | .. toctree:: |
| 270 | documenting/markup | 767 | :maxdepth | :maxdepth: 2 |
| 271 | documenting/markup | 783 | .. index: | .. index:: |
| 272 | documenting/markup | 813 | .. index: | .. index:: BNF, grammar, syntax, notation |
| 273 | documenting/markup | 844 | ` | unaryneg ::= "-" `integer` |
| 274 | documenting/markup | 849 | .. productionlist: | .. productionlist:: |
| 275 | documenting/markup | 849 | ` | try1_stmt: "try" ":" `suite` |
| 276 | documenting/markup | 849 | ` | : ("except" [`expression` ["," `target`]] ":" `suite`)+ |
| 277 | documenting/markup | 849 | ` | : ["else" ":" `suite`] |
| 278 | documenting/markup | 849 | ` | : ["finally" ":" `suite`] |
| 279 | documenting/markup | 849 | ` | try2_stmt: "try" ":" `suite` |
| 280 | documenting/markup | 849 | ` | : "finally" ":" `suite` |
| 281 | documenting/rest | 33 | ` | ``text`` |
| 282 | documenting/rest | 47 | :rolename | :rolename:`content` |
| 283 | documenting/rest | 47 | ` | :rolename:`content` |
| 284 | documenting/rest | 103 | :: | This is a normal text paragraph. The next paragraph is a code sample:: |
| 285 | documenting/rest | 130 | ` | `Link text <http://target>`_ |
| 286 | documenting/rest | 187 | .. function: | .. function:: foo(x) |
| 287 | documenting/rest | 187 | :bar | :bar: no |
| 288 | documenting/rest | 208 | .. rubric: | .. rubric:: Footnotes |
| 289 | faq/programming | :reduce | print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y, | |
| 290 | faq/programming | :reduce | Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro, | |
| 291 | 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( | |
| 292 | faq/programming | :: | for x in sequence[::-1]: | |
| 293 | faq/windows | 229 | :EOF | @setlocal enableextensions & python -x %~f0 %* & goto :EOF |
| 294 | faq/windows | 393 | :REG | .py :REG_SZ: c:\<path to python>\python.exe -u %s %s |
| 295 | library/bisect | 32 | :hi | all(val >= x for val in a[i:hi]) |
| 296 | library/bisect | 42 | :hi | all(val > x for val in a[i:hi]) |
| 297 | library/http.client | 52 | :port | host:port |
| 298 | library/nntplib | :bytes | :bytes | |
| 299 | library/nntplib | :lines | :lines | |
| 300 | library/nntplib | :lines | ['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject'] | |
| 301 | library/nntplib | :bytes | ['xref', 'from', ':lines', ':bytes', 'references', 'date', 'message-id', 'subject'] | |
| 302 | library/pickle | :memory | conn = sqlite3.connect(":memory:") | |
| 303 | library/profile | :lineno | (sort by filename:lineno), | |
| 304 | library/socket | :: | (10, 1, 6, '', ('2001:888:2000:d::a2', 80, 0, 0))] | |
| 305 | library/stdtypes | :end | s[start:end] | |
| 306 | library/stdtypes | :end | s[start:end] | |
| 307 | library/urllib.request | :close | Connection:close | |
| 308 | library/urllib.request | :password | "joe:password@python.org" | |
| 309 | library/urllib.request | :lang | xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n\n<head>\n | |
| 310 | library/xmlrpc.client | 103 | :pass | http://user:pass@host:port/path |
| 311 | library/xmlrpc.client | 103 | :port | http://user:pass@host:port/path |
| 312 | library/xmlrpc.client | 103 | :pass | user:pass |
| 313 | license | ` | * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | |
| 314 | license | ` | * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND | |
| 315 | license | ` | ``Software''), to deal in the Software without restriction, including | |
| 316 | license | ` | THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, | |
| 317 | reference/lexical_analysis | 704 | ` | $ ? ` |
| 318 | whatsnew/2.7 | 735 | :Sunday | '2009:4:Sunday' |
| 319 | whatsnew/2.7 | 862 | :: | export PYTHONWARNINGS=all,error:::Cookie:0 |
| 320 | whatsnew/2.7 | 862 | :Cookie | export PYTHONWARNINGS=all,error:::Cookie:0 |
| 321 | whatsnew/2.7 | 1619 | :: | >>> urlparse.urlparse('http://[1080::8:800:200C:417A]/foo') |
| 322 | whatsnew/2.7 | 1619 | :: | ParseResult(scheme='http', netloc='[1080::8:800:200C:417A]', |
| 323 | library/configparser | ` | # Set the optional `raw` argument of get() to True if you wish to disable | |
| 324 | library/configparser | ` | # The optional `vars` argument is a dict with members that will take | |
| 325 | library/configparser | ` | # The optional `fallback` argument can be used to provide a fallback value | |
| 326 | library/configparser | :option | ${section:option} | |
| 327 | library/configparser | :system | path: ${Common:system_dir}/Library/Frameworks/ | |
| 328 | library/configparser | :home | my_dir: ${Common:home_dir}/twosheds | |
| 329 | library/configparser | :path | python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} | |
| 330 | library/configparser | :Python | python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python} | |
| 331 | library/pdb | :lineno | [filename:lineno | bpnumber [bpnumber ...]] | |
| 332 | library/pdb | :lineno | filename:lineno | |
| 333 | library/logging | :Watch | WARNING:root:Watch out! | |
| 334 | library/logging | :So | INFO:root:So should this | |
| 335 | library/logging | :Started | INFO:root:Started | |
| 336 | library/logging | :Doing | INFO:root:Doing something | |
| 337 | library/logging | :Finished | INFO:root:Finished | |
| 338 | library/logging | :Look | WARNING:root:Look before you leap! | |
| 339 | library/logging | :So | INFO:So should this | |
| 340 | library/logging | :logger | severity:logger name:message | |
| 341 | library/logging | :message | severity:logger name:message | |
| 342 | whatsnew/3.2 | :directory | ... ${buildout:directory}/downloads/dist | |
| 343 | whatsnew/3.2 | :location | ... zope9-location = ${zope9:location} | |
| 344 | whatsnew/3.2 | :prefix | ... zope-conf = ${custom:prefix}/etc/zope.conf | |
| 345 | howto/logging | :root | WARNING:root:Watch out! | |
| 346 | howto/logging | :Watch | WARNING:root:Watch out! | |
| 347 | howto/logging | :root | DEBUG:root:This message should go to the log file | |
| 348 | howto/logging | :This | DEBUG:root:This message should go to the log file | |
| 349 | howto/logging | :root | INFO:root:So should this | |
| 350 | howto/logging | :So | INFO:root:So should this | |
| 351 | howto/logging | :root | WARNING:root:And this, too | |
| 352 | howto/logging | :And | WARNING:root:And this, too | |
| 353 | howto/logging | :root | INFO:root:Started | |
| 354 | howto/logging | :Started | INFO:root:Started | |
| 355 | howto/logging | :root | INFO:root:Doing something | |
| 356 | howto/logging | :Doing | INFO:root:Doing something | |
| 357 | howto/logging | :root | INFO:root:Finished | |
| 358 | howto/logging | :Finished | INFO:root:Finished | |
| 359 | howto/logging | :root | WARNING:root:Look before you leap! | |
| 360 | howto/logging | :Look | WARNING:root:Look before you leap! | |
| 361 | howto/logging | :This | DEBUG:This message should appear on the console | |
| 362 | howto/logging | :So | INFO:So should this | |
| 363 | howto/logging | :And | WARNING:And this, too | |
| 364 | howto/logging | :logger | severity:logger name:message | |
| 365 | howto/logging | :message | severity:logger name:message | |
| 366 | library/logging.handlers | :port | host:port | |
| 367 | documenting/markup | 613 | ` | :ref:`link text <reference-label>` |
| 368 | library/imaplib | 116 | :MM | "DD-Mmm-YYYY HH:MM:SS |
| 369 | library/imaplib | 116 | :SS | "DD-Mmm-YYYY HH:MM:SS |
| 370 | whatsnew/3.2 | :: | $ export PYTHONWARNINGS='ignore::RuntimeWarning::,once::UnicodeWarning::' | |
| 371 | howto/pyporting | 75 | :: | # make sure to use :: Python *and* :: Python :: 3 so |
| 372 | howto/pyporting | 75 | :: | 'Programming Language :: Python', |
| 373 | howto/pyporting | 75 | :: | 'Programming Language :: Python :: 3' |
| 374 | whatsnew/3.2 | :gz | >>> with tarfile.open(name='myarchive.tar.gz', mode='w:gz') as tf: | |
| 375 | whatsnew/3.2 | :directory | ${buildout:directory}/downloads/dist | |
| 376 | whatsnew/3.2 | :location | zope9-location = ${zope9:location} | |
| 377 | whatsnew/3.2 | :prefix | zope-conf = ${custom:prefix}/etc/zope.conf | |
| 378 | whatsnew/3.2 | :beef | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 379 | whatsnew/3.2 | :cafe | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 380 | whatsnew/3.2 | :affe | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 381 | whatsnew/3.2 | :deaf | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 382 | whatsnew/3.2 | :feed | >>> urllib.parse.urlparse('http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/') | |
| 383 | whatsnew/3.2 | :beef | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 384 | whatsnew/3.2 | :cafe | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 385 | whatsnew/3.2 | :affe | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 386 | whatsnew/3.2 | :deaf | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 387 | whatsnew/3.2 | :feed | netloc='[dead:beef:cafe:5417:affe:8FA3:deaf:feed]', | |
| 388 | documenting/markup | 33 | .. sectionauthor: | .. sectionauthor:: Guido van Rossum <guido@python.org> |
| 389 | documenting/markup | 42 | :mod | :mod:`parrot` -- Dead parrot access |
| 390 | documenting/markup | 42 | ` | :mod:`parrot` -- Dead parrot access |
| 391 | documenting/markup | 42 | .. module: | .. module:: parrot |
| 392 | documenting/markup | 42 | :platform | :platform: Unix, Windows |
| 393 | documenting/markup | 42 | :synopsis | :synopsis: Analyze and reanimate dead parrots. |
| 394 | documenting/markup | 42 | .. moduleauthor: | .. moduleauthor:: Eric Cleese <eric@python.invalid> |
| 395 | documenting/markup | 42 | .. moduleauthor: | .. moduleauthor:: John Idle <john@python.invalid> |
| 396 | documenting/markup | 88 | :noindex | :noindex: |
| 397 | documenting/markup | 95 | .. function: | .. function:: spam(eggs) |
| 398 | documenting/markup | 95 | :noindex | :noindex: |
| 399 | documenting/markup | 101 | .. method: | .. method:: FileInput.input(...) |
| 400 | documenting/markup | 121 | :function | c:function |
| 401 | documenting/markup | 121 | .. c: | .. c:function:: PyObject* PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems) |
| 402 | documenting/markup | 121 | :: | .. c:function:: PyObject* PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems) |
| 403 | documenting/markup | 131 | :member | c:member |
| 404 | documenting/markup | 131 | .. c: | .. c:member:: PyObject* PyTypeObject.tp_bases |
| 405 | documenting/markup | 131 | :: | .. c:member:: PyObject* PyTypeObject.tp_bases |
| 406 | documenting/markup | 139 | :macro | c:macro |
| 407 | documenting/markup | 143 | :type | c:type |
| 408 | documenting/markup | 150 | :var | c:var |
| 409 | documenting/markup | 150 | .. cvar: | .. cvar:: PyObject* PyClass_Type |
| 410 | documenting/markup | 179 | .. function: | .. function:: repeat([repeat=3[, number=1000000]]) |
| 411 | documenting/markup | 210 | .. decorator: | .. decorator:: removename |
| 412 | documenting/markup | 210 | .. decorator: | .. decorator:: setnewname(name) |
| 413 | documenting/markup | 210 | :func | :func: |
| 414 | documenting/markup | 237 | .. class: | .. class:: Spam |
| 415 | documenting/markup | 237 | .. data: | .. data:: ham |
| 416 | documenting/markup | 237 | .. data: | .. data:: Spam.eggs |
| 417 | documenting/markup | 250 | :meth | :meth: |
| 418 | documenting/markup | 263 | .. cmdoption: | .. cmdoption:: -m <module> |
| 419 | documenting/markup | 281 | .. describe: | .. describe:: opcode |
| 420 | documenting/markup | 310 | .. highlightlang: | .. highlightlang:: c |
| 421 | documenting/markup | 330 | .. literalinclude: | .. literalinclude:: example.py |
| 422 | documenting/markup | 345 | :rolename | :rolename:`content` |
| 423 | documenting/markup | 345 | ` | :rolename:`content` |
| 424 | documenting/markup | 350 | :role | :role:`title <target>` |
| 425 | documenting/markup | 350 | ` | :role:`title <target>` |
| 426 | documenting/markup | 356 | :meth | :meth:`~Queue.Queue.get` |
| 427 | documenting/markup | 356 | ` | :meth:`~Queue.Queue.get` |
| 428 | documenting/markup | 404 | :func | :func:`filter` |
| 429 | documenting/markup | 404 | ` | :func:`filter` |
| 430 | documenting/markup | 404 | :func | :func:`foo.filter` |
| 431 | documenting/markup | 404 | ` | :func:`foo.filter` |
| 432 | documenting/markup | 410 | :func | :func:`open` |
| 433 | documenting/markup | 410 | ` | :func:`open` |
| 434 | documenting/markup | 410 | :func | :func:`.open` |
| 435 | documenting/markup | 410 | ` | :func:`.open` |
| 436 | documenting/markup | 426 | :data | c:data |
| 437 | documenting/markup | 430 | :func | c:func |
| 438 | documenting/markup | 434 | :macro | c:macro |
| 439 | documenting/markup | 438 | :type | c:type |
| 440 | documenting/markup | 443 | :member | c:member |
| 441 | documenting/markup | 493 | :file | ... is installed in :file:`/usr/lib/python2.{x}/site-packages` ... |
| 442 | documenting/markup | 493 | ` | ... is installed in :file:`/usr/lib/python2.{x}/site-packages` ... |
| 443 | documenting/markup | 512 | :kbd | :kbd:`C-x C-f` |
| 444 | documenting/markup | 512 | ` | :kbd:`C-x C-f` |
| 445 | documenting/markup | 512 | :kbd | :kbd:`Control-x Control-f` |
| 446 | documenting/markup | 512 | ` | :kbd:`Control-x Control-f` |
| 447 | documenting/markup | 526 | :mailheader | :mailheader:`Content-Type` |
| 448 | documenting/markup | 526 | ` | :mailheader:`Content-Type` |
| 449 | documenting/markup | 535 | :manpage | :manpage:`ls(1)` |
| 450 | documenting/markup | 535 | ` | :manpage:`ls(1)` |
| 451 | documenting/markup | 551 | :menuselection | :menuselection:`Start --> Programs` |
| 452 | documenting/markup | 551 | ` | :menuselection:`Start --> Programs` |
| 453 | documenting/markup | 566 | ` | ``code`` |
| 454 | documenting/markup | 585 | :file | :file: |
| 455 | documenting/markup | 585 | ` | ``code`` |
| 456 | documenting/markup | 615 | :ref | :ref:`label-name` |
| 457 | documenting/markup | 615 | ` | :ref:`label-name` |
| 458 | documenting/markup | 619 | :ref | It refers to the section itself, see :ref:`my-reference-label`. |
| 459 | documenting/markup | 619 | ` | It refers to the section itself, see :ref:`my-reference-label`. |
| 460 | documenting/markup | 628 | :ref | :ref: |
| 461 | documenting/markup | 630 | :ref | :ref:`link text <reference-label>` |
| 462 | documenting/markup | 630 | ` | :ref:`link text <reference-label>` |
| 463 | documenting/markup | 651 | .. note: | .. note:: |
| 464 | documenting/markup | 678 | .. versionadded: | .. versionadded:: 3.1 |
| 465 | documenting/markup | 703 | :: | .. impl-detail:: |
| 466 | documenting/markup | 703 | :: | .. impl-detail:: This shortly mentions an implementation detail. |
| 467 | documenting/markup | 723 | .. seealso: | .. seealso:: |
| 468 | documenting/markup | 723 | :mod | Module :mod:`zipfile` |
| 469 | documenting/markup | 723 | ` | Module :mod:`zipfile` |
| 470 | documenting/markup | 723 | :mod | Documentation of the :mod:`zipfile` standard module. |
| 471 | documenting/markup | 723 | ` | Documentation of the :mod:`zipfile` standard module. |
| 472 | documenting/markup | 723 | ` | `GNU tar manual, Basic Tar Format <http://link>`_ |
| 473 | documenting/markup | 737 | .. centered: | .. centered:: |
| 474 | documenting/markup | 782 | .. toctree: | .. toctree:: |
| 475 | documenting/markup | 782 | :maxdepth | :maxdepth: 2 |
| 476 | documenting/markup | 798 | .. index: | .. index:: |
| 477 | documenting/markup | 828 | .. index: | .. index:: BNF, grammar, syntax, notation |
| 478 | documenting/markup | 859 | ` | unaryneg ::= "-" `integer` |
| 479 | documenting/markup | 864 | .. productionlist: | .. productionlist:: |
| 480 | documenting/markup | 864 | ` | try1_stmt: "try" ":" `suite` |
| 481 | documenting/markup | 864 | ` | : ("except" [`expression` ["," `target`]] ":" `suite`)+ |
| 482 | documenting/markup | 864 | ` | : ["else" ":" `suite`] |
| 483 | documenting/markup | 864 | ` | : ["finally" ":" `suite`] |
| 484 | documenting/markup | 864 | ` | try2_stmt: "try" ":" `suite` |
| 485 | documenting/markup | 864 | ` | : "finally" ":" `suite` |
| 486 | library/pprint | 209 | :: | 'classifiers': ['Development Status :: 4 - Beta', |
| 487 | library/pprint | 209 | :: | 'Intended Audience :: Developers', |
| 488 | library/pprint | 209 | :: | 'License :: OSI Approved :: MIT License', |
| 489 | library/pprint | 209 | :: | 'Natural Language :: English', |
| 490 | library/pprint | 209 | :: | 'Operating System :: OS Independent', |
| 491 | library/pprint | 209 | :: | 'Programming Language :: Python', |
| 492 | library/pprint | 209 | :: | 'Programming Language :: Python :: 2', |
| 493 | library/pprint | 209 | :: | 'Programming Language :: Python :: 2.6', |
| 494 | library/pprint | 209 | :: | 'Programming Language :: Python :: 2.7', |
| 495 | library/pprint | 209 | :: | 'Topic :: Software Development :: Libraries', |
| 496 | library/pprint | 209 | :: | 'Topic :: Software Development :: Libraries :: Python Modules'], |
| 497 | packaging/examples | ` | This is the description of the ``foobar`` project. | |
| 498 | packaging/setupcfg | :: | Development Status :: 3 - Alpha | |
| 499 | packaging/setupcfg | :: | License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1) | |
| 500 | packaging/setupscript | :: | 'Development Status :: 4 - Beta', | |
| 501 | packaging/setupscript | :: | 'Environment :: Console', | |
| 502 | packaging/setupscript | :: | 'Environment :: Web Environment', | |
| 503 | packaging/setupscript | :: | 'Intended Audience :: End Users/Desktop', | |
| 504 | packaging/setupscript | :: | 'Intended Audience :: Developers', | |
| 505 | packaging/setupscript | :: | 'Intended Audience :: System Administrators', | |
| 506 | packaging/setupscript | :: | 'License :: OSI Approved :: Python Software Foundation License', | |
| 507 | packaging/setupscript | :: | 'Operating System :: MacOS :: MacOS X', | |
| 508 | packaging/setupscript | :: | 'Operating System :: Microsoft :: Windows', | |
| 509 | packaging/setupscript | :: | 'Operating System :: POSIX', | |
| 510 | packaging/setupscript | :: | 'Programming Language :: Python', | |
| 511 | packaging/setupscript | :: | 'Topic :: Communications :: Email', | |
| 512 | packaging/setupscript | :: | 'Topic :: Office/Business', | |
| 513 | packaging/setupscript | :: | 'Topic :: Software Development :: Bug Tracking', | |
| 514 | packaging/tutorial | :: | 1) License :: OSI Approved :: GNU General Public License (GPL) | |
| 515 | packaging/tutorial | :: | 2) License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) | |
| 516 | packaging/tutorial | :: | Type the number of the license you wish to use or ? to try again:: 1 | |
| 517 | packaging/tutorial | :: | classifier = Development Status :: 3 - Alpha | |
| 518 | packaging/tutorial | :: | License :: OSI Approved :: GNU General Public License (GPL) |