Mercurial > cpython-lru_cache-weakref
diff Tools/unicode/gencodec.py @ 59720:8a28be45c242
Merged revisions 78982,78986 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78982 | florent.xicluna | 2010-03-15 15:00:58 +0100 (lun, 15 mar 2010) | 2 lines
Remove py3k deprecation warnings from these Unicode tools.
........
r78986 | florent.xicluna | 2010-03-15 19:08:58 +0100 (lun, 15 mar 2010) | 3 lines
Issue #7783 and #7787: open_urlresource invalidates the outdated files from the local cache.
Use this feature to fix test_normalization.
........
| author | Florent Xicluna <florent.xicluna@gmail.com> |
|---|---|
| date | Fri, 19 Mar 2010 14:25:03 +0000 |
| parents | ef1b1198338b |
| children | f79928adab57 |
line wrap: on
line diff
--- a/Tools/unicode/gencodec.py Fri Mar 19 13:37:08 2010 +0000 +++ b/Tools/unicode/gencodec.py Fri Mar 19 14:25:03 2010 +0000 @@ -40,8 +40,7 @@ '\s*' '(#.+)?') -def parsecodes(codes, - len=len, filter=filter,range=range): +def parsecodes(codes, len=len, range=range): """ Converts code combinations to either a single code integer or a tuple of integers.
