Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2581764

Browse files
committed
Version 1.3 of the Python Unicode Integration proposal.
1 parent 8520cc2 commit 2581764

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Misc/unicode.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
=============================================================================
2-
Python Unicode Integration Proposal Version: 1.2
2+
Python Unicode Integration Proposal Version: 1.3
33
-----------------------------------------------------------------------------
44

55

@@ -203,8 +203,9 @@ implemented by a module "codecs":
203203
codecs.register(search_function)
204204

205205
Search functions are expected to take one argument, the encoding name
206-
in all lower case letters, and return a tuple of functions (encoder,
207-
decoder, stream_reader, stream_writer) taking the following arguments:
206+
in all lower case letters and with hyphens and spaces converted to
207+
underscores, and return a tuple of functions (encoder, decoder,
208+
stream_reader, stream_writer) taking the following arguments:
208209

209210
encoder and decoder:
210211
These must be functions or methods which have the same

0 commit comments

Comments
 (0)