1
0
forked from VimPlug/jedi

frozenset is working now / further array conversion tests

This commit is contained in:
David Halter
2012-08-07 00:11:44 +02:00
parent 5f26d0c442
commit 8bd73d96cb
2 changed files with 29 additions and 2 deletions

View File

@@ -109,6 +109,18 @@ class set():
return self
class frozenset():
def __init__(self, iterable=[]):
self.iterable = iterable
def __iter__(self):
for i in self.iterable:
yield i
def copy(self):
return self
#--------------------------------------------------------
# basic types
#--------------------------------------------------------