Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d6abb72

Browse files
committed
Merged revisions 77236,77383,77399,77857,78238,78861-78862,78958 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ................ r77236 | georg.brandl | 2010-01-02 15:51:12 +0100 (Sa, 02 Jan 2010) | 1 line #7592: remove duplicate description. ................ r77383 | georg.brandl | 2010-01-09 10:48:46 +0100 (Sa, 09 Jan 2010) | 9 lines Merged revisions 77382 via svnmerge from svn+ssh://[email protected]/python/trunk ........ r77382 | georg.brandl | 2010-01-09 10:47:11 +0100 (Sa, 09 Jan 2010) | 1 line #7422: make it clear that getargspec() only works on Python functions. ........ ................ r77399 | georg.brandl | 2010-01-09 23:39:42 +0100 (Sa, 09 Jan 2010) | 1 line Remove redundant brackets in signatures. ................ r77857 | georg.brandl | 2010-01-30 18:54:04 +0100 (Sa, 30 Jan 2010) | 1 line #7814: fix wrong example function usage. ................ r78238 | georg.brandl | 2010-02-19 10:10:15 +0100 (Fr, 19 Feb 2010) | 1 line #5341: fix parenthesis placement. ................ r78861 | georg.brandl | 2010-03-12 11:04:37 +0100 (Fr, 12 Mär 2010) | 1 line Make tool compatible with 2.x and 3.x. ................ r78862 | georg.brandl | 2010-03-12 11:06:40 +0100 (Fr, 12 Mär 2010) | 13 lines Merged revisions 78859-78860 via svnmerge from svn+ssh://[email protected]/python/trunk ........ r78859 | georg.brandl | 2010-03-12 10:57:43 +0100 (Fr, 12 Mär 2010) | 1 line Get rid of backticks. ........ r78860 | georg.brandl | 2010-03-12 11:02:03 +0100 (Fr, 12 Mär 2010) | 1 line Fix warnings from "make check". ........ ................ r78958 | georg.brandl | 2010-03-14 11:51:01 +0100 (So, 14 Mär 2010) | 37 lines Merged revisions 78101,78115,78117,78182,78188,78245,78386,78496 via svnmerge from svn+ssh://[email protected]/python/trunk ........ r78101 | georg.brandl | 2010-02-08 01:04:54 +0100 (Mo, 08 Feb 2010) | 1 line Fix test_fnmatch. ........ r78115 | georg.brandl | 2010-02-08 23:40:51 +0100 (Mo, 08 Feb 2010) | 1 line Fix missing string formatting placeholder. ........ r78117 | georg.brandl | 2010-02-08 23:48:37 +0100 (Mo, 08 Feb 2010) | 1 line Convert test failure from output-producing to self.fail(). ........ r78182 | georg.brandl | 2010-02-14 09:18:23 +0100 (So, 14 Feb 2010) | 1 line #7926: fix stray parens. ........ r78188 | georg.brandl | 2010-02-14 14:38:12 +0100 (So, 14 Feb 2010) | 1 line #7926: fix-up wording. ........ r78245 | georg.brandl | 2010-02-19 20:36:08 +0100 (Fr, 19 Feb 2010) | 1 line #7967: PyXML is no more. ........ r78386 | georg.brandl | 2010-02-23 22:48:57 +0100 (Di, 23 Feb 2010) | 1 line #6544: fix refleak in kqueue, occurring in certain error conditions. ........ r78496 | georg.brandl | 2010-02-27 15:58:08 +0100 (Sa, 27 Feb 2010) | 1 line Link to http://www.python.org/dev/workflow/ from bugs page. ........ ................
1 parent 8ffe0bc commit d6abb72

15 files changed

Lines changed: 48 additions & 51 deletions

File tree

Doc/bugs.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ information is needed (in which case you are welcome to provide it if you can!).
3838
To do this, search the bug database using the search box on the top of the page.
3939

4040
If the problem you're reporting is not already in the bug tracker, go back to
41-
the Python Bug Tracker. If you don't already have a tracker account, select the
42-
"Register" link in the sidebar and undergo the registration procedure.
43-
Otherwise, if you're not logged in, enter your credentials and select "Login".
44-
It is not possible to submit a bug report anonymously.
41+
the Python Bug Tracker and log in. If you don't already have a tracker account,
42+
select the "Register" link or, if you use OpenID, one of the OpenID provider
43+
logos in the sidebar. It is not possible to submit a bug report anonymously.
4544

4645
Being now logged in, you can submit a bug. Select the "Create New" link in the
4746
sidebar to open the bug reporting form.
@@ -58,7 +57,8 @@ were using (including version information as appropriate).
5857

5958
Each bug report will be assigned to a developer who will determine what needs to
6059
be done to correct the problem. You will receive an update each time action is
61-
taken on the bug.
60+
taken on the bug. See http://www.python.org/dev/workflow/ for a detailed
61+
description of the issue workflow.
6262

6363

6464
.. seealso::

Doc/distutils/examples.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ Running the ``check`` command will display some warnings::
257257
(maintainer and maintainer_email) must be supplied
258258

259259

260-
If you use the reStructuredText syntax in the `long_description` field and
260+
If you use the reStructuredText syntax in the ``long_description`` field and
261261
`docutils <http://docutils.sourceforge.net/>`_ is installed you can check if
262-
the syntax is fine with the ``check`` command, using the `restructuredtext`
262+
the syntax is fine with the ``check`` command, using the ``restructuredtext``
263263
option.
264264

265265
For example, if the :file:`setup.py` script is changed like this::
@@ -278,7 +278,7 @@ For example, if the :file:`setup.py` script is changed like this::
278278
url='http://example.com', long_description=desc)
279279

280280
Where the long description is broken, ``check`` will be able to detect it
281-
by using the `docutils` parser::
281+
by using the :mod:`docutils` parser::
282282

283283
$ pythontrunk setup.py check --restructuredtext
284284
running check

Doc/distutils/uploading.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ in the package::
6060
setup(name='Distutils',
6161
long_description=open('README.txt'))
6262

63-
In that case, `README.txt` is a regular reStructuredText text file located
64-
in the root of the package besides `setup.py`.
63+
In that case, :file:`README.txt` is a regular reStructuredText text file located
64+
in the root of the package besides :file:`setup.py`.
6565

6666
To prevent registering broken reStructuredText content, you can use the
67-
:program:`rst2html` program that is provided by the `docutils` package
67+
:program:`rst2html` program that is provided by the :mod:`docutils` package
6868
and check the ``long_description`` from the command line::
6969

7070
$ python setup.py --long-description | rst2html.py > output.html
7171

72-
`docutils` will display a warning if there's something wrong with your syntax.
72+
:mod:`docutils` will display a warning if there's something wrong with your syntax.

Doc/glossary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Glossary
331331

332332
iterator
333333
An object representing a stream of data. Repeated calls to the iterator's
334-
:meth:`__next__` (or passing it to the builtin function) :func:`next`
334+
:meth:`__next__` (or passing it to the built-in function :func:`next`)
335335
method return successive items in the stream. When no more data are
336336
available a :exc:`StopIteration` exception is raised instead. At this
337337
point, the iterator object is exhausted and any further calls to its

Doc/library/http.client.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ statement.
486486

487487
.. attribute:: HTTPResponse.debuglevel
488488

489-
A debugging hook. If `debuglevel` is greater than zero, messages
489+
A debugging hook. If :attr:`debuglevel` is greater than zero, messages
490490
will be printed to stdout as the response is read and parsed.
491491

492492

Doc/library/inspect.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ Classes and functions
387387

388388
.. function:: getargspec(func)
389389

390-
Get the names and default values of a function's arguments. A
390+
Get the names and default values of a Python function's arguments. A
391391
:term:`named tuple` ``ArgSpec(args, varargs, keywords,
392392
defaults)`` is returned. *args* is a list of
393393
the argument names. *varargs* and *varkw* are the names of the ``*`` and
@@ -402,8 +402,8 @@ Classes and functions
402402

403403
.. function:: getfullargspec(func)
404404

405-
Get the names and default values of a function's arguments. A :term:`named
406-
tuple` is returned:
405+
Get the names and default values of a Python function's arguments. A
406+
:term:`named tuple` is returned:
407407

408408
``FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults,
409409
annotations)``

Doc/library/site.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,5 @@ empty, and the path manipulations are skipped; however the import of
117117
Adds a directory to sys.path and processes its pth files.
118118

119119

120-
XXX Update documentation
121-
XXX document python -m site --user-base --user-site
120+
.. XXX Update documentation
121+
.. XXX document python -m site --user-base --user-site

Doc/library/ssl.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278,14 +278,6 @@ SSLSocket Objects
278278
else:
279279
raise
280280

281-
.. method:: SSLSocket.unwrap()
282-
283-
Performs the SSL shutdown handshake, which removes the TLS layer from the
284-
underlying socket, and returns the underlying socket object. This can be
285-
used to go from encrypted operation over a connection to unencrypted. The
286-
returned socket should always be used for further communication with the
287-
other side of the connection, rather than the original socket
288-
289281
.. method:: SSLSocket.getpeercert(binary_form=False)
290282

291283
If there is no certificate for the peer on the other end of the connection,

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ always available.
359359
specific.
360360

361361
If given, *default* will be returned if the object does not provide means to
362-
retrieve the size. Otherwise a `TypeError` will be raised.
362+
retrieve the size. Otherwise a :exc:`TypeError` will be raised.
363363

364364
:func:`getsizeof` calls the object's ``__sizeof__`` method and adds an
365365
additional garbage collector overhead if the object is managed by the garbage

Doc/library/xmlrpc.server.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ Server code::
136136
server.register_function(adder_function, 'add')
137137

138138
# Register an instance; all the methods of the instance are
139-
# published as XML-RPC methods (in this case, just 'div').
139+
# published as XML-RPC methods (in this case, just 'mul').
140140
class MyFuncs:
141-
def div(self, x, y):
142-
return x // y
141+
def mul(self, x, y):
142+
return x * y
143143

144144
server.register_instance(MyFuncs())
145145

@@ -209,7 +209,8 @@ requests sent to Python CGI scripts.
209209
Example::
210210

211211
class MyFuncs:
212-
def div(self, x, y) : return x // y
212+
def mul(self, x, y):
213+
return x * y
213214

214215

215216
handler = CGIXMLRPCRequestHandler()

0 commit comments

Comments
 (0)