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
0690c86a
Commit
0690c86a
authored
Aug 17, 2000
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the returns_unicode attribute
parent
4148877a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
Doc/lib/libpyexpat.tex
Doc/lib/libpyexpat.tex
+11
-4
No files found.
Doc/lib/libpyexpat.tex
View file @
0690c86a
...
@@ -92,10 +92,17 @@ Returns a string containing the base set by a previous call to
...
@@ -92,10 +92,17 @@ Returns a string containing the base set by a previous call to
\method
{
SetBase()
}
hasn't been called.
\method
{
SetBase()
}
hasn't been called.
\end{methoddesc}
\end{methoddesc}
\class
{
xmlparser
}
objects have the following attributes, containing
\class
{
xmlparser
}
objects have the following attributes.
values relating to the most recent error encountered by an
\class
{
xmlparser
}
object. These attributes will only have correct
\begin{datadesc}
{
returns
_
unicode
}
values once a call to
\method
{
Parse()
}
or
\method
{
ParseFile()
}
If this attribute is set to 1, the handler functions will be passed
Unicode strings. If
\member
{
returns
_
unicode
}
is 0, 8-bit strings
containing UTF-8 encoded data will be passed to the handlers.
\end{datadesc}
The following attributes contain values relating to the most recent
error encountered by an
\class
{
xmlparser
}
object, and will only have
correct values once a call to
\method
{
Parse()
}
or
\method
{
ParseFile()
}
has raised a
\exception
{
pyexpat.error
}
exception.
has raised a
\exception
{
pyexpat.error
}
exception.
\begin{datadesc}
{
ErrorByteIndex
}
\begin{datadesc}
{
ErrorByteIndex
}
...
...
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