Skip to content

Commit

Permalink
Remove duplicate PairTest from pyutils/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jhgg committed Oct 8, 2015
1 parent 54db657 commit ce8ed61
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions graphql/core/pyutils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
class PairSet(object):
def __init__(self):
self._data = set()

def __contains__(self, item):
return item in self._data

def has(self, a, b):
return (a, b) in self._data

def add(self, a, b):
self._data.add((a, b))
self._data.add((b, a))
return self

def remove(self, a, b):
self._data.discard((a, b))
self._data.discard((b, a))

0 comments on commit ce8ed61

Please sign in to comment.