Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a5eacee2
Commit
a5eacee2
authored
Jul 23, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some markup glitches.
parent
6086118c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
Doc/library/pdb.rst
Doc/library/pdb.rst
+2
-1
Doc/library/urllib.request.rst
Doc/library/urllib.request.rst
+2
-1
Doc/whatsnew/2.0.rst
Doc/whatsnew/2.0.rst
+1
-1
Doc/whatsnew/2.5.rst
Doc/whatsnew/2.5.rst
+1
-1
No files found.
Doc/library/pdb.rst
View file @
a5eacee2
...
...
@@ -347,7 +347,8 @@ by the local file.
.. pdbcommand:: l(ist) [first[, last]]
List source code for the current file. Without arguments, list 11 lines
around the current line or continue the previous listing. With one argument,
around the current line or continue the previous listing. With ``.`` as
argument, list 11 lines around the current line. With one argument,
list 11 lines around at that line. With two arguments, list the given range;
if the second argument is less than the first, it is interpreted as a count.
...
...
Doc/library/urllib.request.rst
View file @
a5eacee2
...
...
@@ -638,7 +638,8 @@ sorting the handler instances.
:meth:`unknown_open`.
Note that the implementation of these methods may involve calls of the parent
:class:`OpenerDirector` instance's :meth:`.open` and :meth:`.error` methods.
:class:`OpenerDirector` instance's :meth:`~OpenerDirector.open` and
:meth:`~OpenerDirector.error` methods.
#. Every handler with a method named like :meth:`protocol_response` has that
method called to post-process the response.
...
...
Doc/whatsnew/2.0.rst
View file @
a5eacee2
...
...
@@ -656,7 +656,7 @@ break.
The change which will probably break the most code is tightening up the
arguments accepted by some methods. Some methods would take multiple arguments
and treat them as a tuple, particularly various list methods such as
:meth:`
.append` and :meth:`.
insert`. In earlier versions of Python, if ``L`` is
:meth:`
append` and :meth:`
insert`. In earlier versions of Python, if ``L`` is
a list, ``L.append( 1,2 )`` appends the tuple ``(1,2)`` to the list. In Python
2.0 this causes a :exc:`TypeError` exception to be raised, with the message:
'append requires exactly 1 argument; 2 given'. The fix is to simply add an
...
...
Doc/whatsnew/2.5.rst
View file @
a5eacee2
...
...
@@ -1765,7 +1765,7 @@ Full documentation for ElementTree is available at
http://effbot.org/zone/element-index.htm.
ElementTree represents an XML document as a tree of element nodes. The text
content of the document is stored as the :attr:`
.text` and :attr:`.
tail`
content of the document is stored as the :attr:`
text` and :attr:`
tail`
attributes of (This is one of the major differences between ElementTree and
the Document Object Model; in the DOM there are many different types of node,
including :class:`TextNode`.)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment