mercurial/util.py
changeset 8151 127281884959
parent 8150 bbc24c0753a0
child 8181 03d93882fc93
--- a/mercurial/util.py	Wed Apr 22 00:55:32 2009 +0200
+++ b/mercurial/util.py	Wed Apr 22 00:56:06 2009 +0200
@@ -219,10 +219,6 @@
     """return true if a string is binary data"""
     return bool(s and '\0' in s)
 
-def unique(g):
-    """return the uniq elements of iterable g"""
-    return dict.fromkeys(g).keys()
-
 def sort(l):
     if not isinstance(l, list):
         l = list(l)