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

Skip to content

Commit a5eacee

Browse files
committed
Fix some markup glitches.
1 parent 6086118 commit a5eacee

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

Doc/library/pdb.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ by the local file.
347347
.. pdbcommand:: l(ist) [first[, last]]
348348

349349
List source code for the current file. Without arguments, list 11 lines
350-
around the current line or continue the previous listing. With one argument,
350+
around the current line or continue the previous listing. With ``.`` as
351+
argument, list 11 lines around the current line. With one argument,
351352
list 11 lines around at that line. With two arguments, list the given range;
352353
if the second argument is less than the first, it is interpreted as a count.
353354

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)