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

Skip to content

Commit 8b256ca

Browse files
committed
Merged revisions 83106 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k ........ r83106 | georg.brandl | 2010-07-23 18:55:26 +0200 (Fr, 23 Jul 2010) | 1 line Fix some markup glitches. ........
1 parent eb0c8ed commit 8b256ca

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

Doc/library/urllib.request.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,8 @@ sorting the handler instances.
638638
:meth:`unknown_open`.
639639

640640
Note that the implementation of these methods may involve calls of the parent
641-
:class:`OpenerDirector` instance's :meth:`.open` and :meth:`.error` methods.
641+
:class:`OpenerDirector` instance's :meth:`~OpenerDirector.open` and
642+
:meth:`~OpenerDirector.error` methods.
642643

643644
#. Every handler with a method named like :meth:`protocol_response` has that
644645
method called to post-process the response.

Doc/whatsnew/2.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ break.
656656
The change which will probably break the most code is tightening up the
657657
arguments accepted by some methods. Some methods would take multiple arguments
658658
and treat them as a tuple, particularly various list methods such as
659-
:meth:`.append` and :meth:`.insert`. In earlier versions of Python, if ``L`` is
659+
:meth:`append` and :meth:`insert`. In earlier versions of Python, if ``L`` is
660660
a list, ``L.append( 1,2 )`` appends the tuple ``(1,2)`` to the list. In Python
661661
2.0 this causes a :exc:`TypeError` exception to be raised, with the message:
662662
'append requires exactly 1 argument; 2 given'. The fix is to simply add an

Doc/whatsnew/2.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,7 @@ Full documentation for ElementTree is available at
17651765
http://effbot.org/zone/element-index.htm.
17661766

17671767
ElementTree represents an XML document as a tree of element nodes. The text
1768-
content of the document is stored as the :attr:`.text` and :attr:`.tail`
1768+
content of the document is stored as the :attr:`text` and :attr:`tail`
17691769
attributes of (This is one of the major differences between ElementTree and
17701770
the Document Object Model; in the DOM there are many different types of node,
17711771
including :class:`TextNode`.)

0 commit comments

Comments
 (0)