forked from idobatter/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
392 changed files
with
17,124 additions
and
17,291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ db_home | |
platform$ | ||
pyconfig.h$ | ||
python$ | ||
python.bat$ | ||
python.exe$ | ||
python-config$ | ||
python-config.py$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
.. sectionauthor:: Marc-André Lemburg <[email protected]> | ||
.. sectionauthor:: Martin v. Löwis <[email protected]> | ||
|
||
**Source code:** :source:`Lib/codecs.py` | ||
|
||
.. index:: | ||
single: Unicode | ||
|
@@ -22,21 +23,19 @@ manages the codec and error handling lookup process. | |
|
||
It defines the following functions: | ||
|
||
.. function:: encode(obj, [encoding[, errors]]) | ||
.. function:: encode(obj, encoding='utf-8', errors='strict') | ||
|
||
Encodes *obj* using the codec registered for *encoding*. The default | ||
encoding is ``utf-8``. | ||
Encodes *obj* using the codec registered for *encoding*. | ||
|
||
*Errors* may be given to set the desired error handling scheme. The | ||
default error handler is ``strict`` meaning that encoding errors raise | ||
:exc:`ValueError` (or a more codec specific subclass, such as | ||
:exc:`UnicodeEncodeError`). Refer to :ref:`codec-base-classes` for more | ||
information on codec error handling. | ||
|
||
.. function:: decode(obj, [encoding[, errors]]) | ||
.. function:: decode(obj, encoding='utf-8', errors='strict') | ||
|
||
Decodes *obj* using the codec registered for *encoding*. The default | ||
encoding is ``utf-8``. | ||
Decodes *obj* using the codec registered for *encoding*. | ||
|
||
*Errors* may be given to set the desired error handling scheme. The | ||
default error handler is ``strict`` meaning that decoding errors raise | ||
|
@@ -1420,4 +1419,3 @@ This module implements a variant of the UTF-8 codec: On encoding a UTF-8 encoded | |
BOM will be prepended to the UTF-8 encoded bytes. For the stateful encoder this | ||
is only done once (on the first write to the byte stream). For decoding an | ||
optional UTF-8 encoded BOM at the start of the data will be skipped. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.