mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Version 1.3 of the Python Unicode Integration proposal.
This commit is contained in:
parent
8520cc2328
commit
2581764f21
1 changed files with 4 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
=============================================================================
|
||||
Python Unicode Integration Proposal Version: 1.2
|
||||
Python Unicode Integration Proposal Version: 1.3
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
|
@ -203,8 +203,9 @@ implemented by a module "codecs":
|
|||
codecs.register(search_function)
|
||||
|
||||
Search functions are expected to take one argument, the encoding name
|
||||
in all lower case letters, and return a tuple of functions (encoder,
|
||||
decoder, stream_reader, stream_writer) taking the following arguments:
|
||||
in all lower case letters and with hyphens and spaces converted to
|
||||
underscores, and return a tuple of functions (encoder, decoder,
|
||||
stream_reader, stream_writer) taking the following arguments:
|
||||
|
||||
encoder and decoder:
|
||||
These must be functions or methods which have the same
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue