Mercurial > hg
diff mercurial/util.py @ 8150:bbc24c0753a0
util: use built-in set and frozenset
This drops Python 2.3 compatibility.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 22 Apr 2009 00:55:32 +0200 |
parents | 35f7fda52c92 |
children | 127281884959 |
line wrap: on
line diff
--- a/mercurial/util.py Fri Apr 24 10:43:12 2009 +0200 +++ b/mercurial/util.py Wed Apr 22 00:55:32 2009 +0200 @@ -19,12 +19,6 @@ # Python compatibility -try: - set = set - frozenset = frozenset -except NameError: - from sets import Set as set, ImmutableSet as frozenset - _md5 = None def md5(s): global _md5