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
611e48c1
Commit
611e48c1
authored
Oct 23, 2008
by
Walter Dörwald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the correct names of the stateless codec functions (Fixes issue 4178).
parent
592c2755
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Doc/library/codecs.rst
Doc/library/codecs.rst
+3
-3
No files found.
Doc/library/codecs.rst
View file @
611e48c1
...
@@ -32,9 +32,9 @@ It defines the following functions:
...
@@ -32,9 +32,9 @@ It defines the following functions:
* ``name`` The name of the encoding;
* ``name`` The name of the encoding;
* ``encode
r
`` The stateless encoding function;
* ``encode`` The stateless encoding function;
* ``decode
r
`` The stateless decoding function;
* ``decode`` The stateless decoding function;
* ``incrementalencoder`` An incremental encoder class or factory function;
* ``incrementalencoder`` An incremental encoder class or factory function;
...
@@ -46,7 +46,7 @@ It defines the following functions:
...
@@ -46,7 +46,7 @@ It defines the following functions:
The various functions or classes take the following arguments:
The various functions or classes take the following arguments:
*encode
r* and *decoder
*: These must be functions or methods which have the same
*encode
* and *decode
*: These must be functions or methods which have the same
interface as the :meth:`encode`/:meth:`decode` methods of Codec instances (see
interface as the :meth:`encode`/:meth:`decode` methods of Codec instances (see
Codec Interface). The functions/methods are expected to work in a stateless
Codec Interface). The functions/methods are expected to work in a stateless
mode.
mode.
...
...
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