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
9b149b94
Commit
9b149b94
authored
May 10, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#17841: merge with 3.3.
parents
40e39fc8
173d4109
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
33 deletions
+33
-33
Doc/library/codecs.rst
Doc/library/codecs.rst
+33
-33
No files found.
Doc/library/codecs.rst
View file @
9b149b94
...
@@ -1188,44 +1188,44 @@ particular, the following variants typically exist:
...
@@ -1188,44 +1188,44 @@ particular, the following variants typically exist:
The following codecs provide bytes-to-bytes mappings.
The following codecs provide bytes-to-bytes mappings.
.. tabularcolumns:: |l|
p{0.3\linewidth}|p{0.3\linewidth}
|
.. tabularcolumns:: |l|
L
|
+--------------------+---------------------------+
---------------------------+
+--------------------+---------------------------+
|
Codec |
Aliases |
Purpose |
|
Codec | Purpose |
+====================+===========================+
===========================+
+====================+===========================+
|
base64_codec |
base64, base-64 |
Convert operand to MIME |
|
base64_codec | Convert operand to MIME |
|
|
|
base64 (the result always |
|
| base64 (the result always |
|
|
|
includes a trailing |
|
| includes a trailing |
|
|
|
``'\n'``) |
|
| ``'\n'``) |
+--------------------+---------------------------+
---------------------------+
+--------------------+---------------------------+
|
bz2_codec |
bz2 |
Compress the operand |
|
bz2_codec | Compress the operand |
|
|
|
using bz2 |
|
| using bz2 |
+--------------------+---------------------------+
---------------------------+
+--------------------+---------------------------+
|
hex_codec |
hex |
Convert operand to |
|
hex_codec | Convert operand to |
|
|
|
hexadecimal |
|
| hexadecimal |
|
|
|
representation, with two |
|
| representation, with two |
|
|
|
digits per byte |
|
| digits per byte |
+--------------------+---------------------------+
---------------------------+
+--------------------+---------------------------+
|
quopri_codec |
quopri, quoted-printable, |
Convert operand to MIME |
|
quopri_codec | Convert operand to MIME |
|
| quoted
printable | quoted
printable |
|
| quoted printable |
+--------------------+---------------------------+
---------------------------+
+--------------------+---------------------------+
|
uu_codec |
uu |
Convert the operand using |
|
uu_codec | Convert the operand using |
|
|
|
uuencode |
|
| uuencode |
+--------------------+---------------------------+
---------------------------+
+--------------------+---------------------------+
|
zlib_codec |
zip, zlib |
Compress the operand |
|
zlib_codec | Compress the operand |
|
|
|
using gzip |
|
| using gzip |
+--------------------+---------------------------+
---------------------------+
+--------------------+---------------------------+
The following codecs provide string-to-string mappings.
The following codecs provide string-to-string mappings.
.. tabularcolumns:: |l|
p{0.3\linewidth}|p{0.3\linewidth}
|
.. tabularcolumns:: |l|
L
|
+--------------------+---------------------------+
---------------------------+
+--------------------+---------------------------+
|
Codec |
Aliases |
Purpose |
|
Codec | Purpose |
+====================+===========================+
===========================+
+====================+===========================+
|
rot_13 |
rot13 |
Returns the Caesar-cypher |
|
rot_13 | Returns the Caesar-cypher |
|
|
|
encryption of the operand |
|
| encryption of the operand |
+--------------------+---------------------------+
---------------------------+
+--------------------+---------------------------+
.. versionadded:: 3.2
.. versionadded:: 3.2
bytes-to-bytes and string-to-string codecs.
bytes-to-bytes and string-to-string codecs.
...
...
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