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
2c39c772
Commit
2c39c772
authored
Dec 28, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#10781: clarify that *encoding* is not a parameter for Node objects in general.
parent
c28036b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/xml.dom.minidom.rst
Doc/library/xml.dom.minidom.rst
+3
-3
No files found.
Doc/library/xml.dom.minidom.rst
View file @
2c39c772
...
...
@@ -122,7 +122,7 @@ module documentation. This section lists the differences between the API and
...
#
Work
with
dom
.
..
method
::
Node
.
writexml
(
writer
,
indent
=
""
,
addindent
=
""
,
newl
=
""
,
encoding
=
""
)
..
method
::
Node
.
writexml
(
writer
,
indent
=
""
,
addindent
=
""
,
newl
=
""
)
Write
XML
to
the
writer
object
.
The
writer
should
have
a
:
meth
:`
write
`
method
which
matches
that
of
the
file
object
interface
.
The
*
indent
*
parameter
is
the
...
...
@@ -130,8 +130,8 @@ module documentation. This section lists the differences between the API and
indentation
to
use
for
subnodes
of
the
current
one
.
The
*
newl
*
parameter
specifies
the
string
to
use
to
terminate
newlines
.
For
the
:
class
:`
Document
`
node
,
an
additional
keyword
argument
*
encoding
*
can
be
used
to
specify
the
encoding
field
of
the
XML
header
.
For
the
:
class
:`
Document
`
node
,
an
additional
keyword
argument
*
encoding
*
can
be
used
to
specify
the
encoding
field
of
the
XML
header
.
..
method
::
Node
.
toxml
(
encoding
=
None
)
...
...
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