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
a35b05eb
Commit
a35b05eb
authored
Mar 31, 2006
by
Walter Dörwald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify what the final argument does in
IncrementalDecoder.decode().
parent
602d3390
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Doc/lib/libcodecs.tex
Doc/lib/libcodecs.tex
+4
-0
No files found.
Doc/lib/libcodecs.tex
View file @
a35b05eb
...
...
@@ -443,6 +443,10 @@ define in order to be compatible to the Python codec registry.
Decodes
\var
{
object
}
(taking the current state of the decoder into account)
and returns the resulting decoded object. If this is the last call to
\method
{
decode
}
\var
{
final
}
must be true (the default is false).
If
\var
{
final
}
is true the decoder must decode the input completely and must
flush all buffers. If this isn't possible (e.g. because of incomplete byte
sequences at the end of the input) it must initiate error handling just like
in the stateless case (which might raise an exception).
\end{methoddesc}
\begin{methoddesc}
{
reset
}{}
...
...
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