1
0
forked from VimPlug/jedi

method signatures and return types of some 'set' methods, fixes davidhalter/jedi-vim#45

This commit is contained in:
David Halter
2012-12-11 14:01:18 +01:00
parent b8a92ecbe3
commit cef7da7035

View File

@@ -142,6 +142,18 @@ class set():
def copy(self):
return self
def difference(self, other):
return self - other
def intersection(self, other):
return self & other
def symetric_difference(self, other):
return self ^ other
def union(self, other):
return self | other
class frozenset():
def __init__(self, iterable=[]):