| --- a/Lib/codecs.py Mon May 21 20:28:58 2012 +0200 |
| +++ b/Lib/codecs.py Tue May 22 01:11:31 2012 +0300 |
| @@ -1042,10 +1042,7 @@ |
| mapped to themselves. |
| """ |
| - res = {} |
| - for i in rng: |
| - res[i]=i |
| - return res |
| + return {i:i for i in rng} |
| def make_encoding_map(decoding_map): |