mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-18 06:31:27 +08:00
frozenset is working now / further array conversion tests
This commit is contained in:
1 parent
5f26d0c442
commit
8bd73d96cb
2 files changed
+29
-2
No files matched your search
@@ -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
|
||||
#--------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user