Skip to content

Commit ce8ed61

Browse files
committed
Remove duplicate PairTest from pyutils/__init__.py
1 parent 54db657 commit ce8ed61

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

graphql/core/pyutils/__init__.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +0,0 @@
1-
class PairSet(object):
2-
def __init__(self):
3-
self._data = set()
4-
5-
def __contains__(self, item):
6-
return item in self._data
7-
8-
def has(self, a, b):
9-
return (a, b) in self._data
10-
11-
def add(self, a, b):
12-
self._data.add((a, b))
13-
self._data.add((b, a))
14-
return self
15-
16-
def remove(self, a, b):
17-
self._data.discard((a, b))
18-
self._data.discard((b, a))

0 commit comments

Comments
 (0)