Fix issues in Python 2.7.
This commit is contained in:
1 parent
a1410de9e8
commit
8d3be10270
3 files changed
+3
-4
No files matched your search
@@ -35,7 +35,7 @@ Inherited().undefined
|
||||
class SetattrCls():
|
||||
def __init__(self, dct):
|
||||
# Jedi doesn't even try to understand such code
|
||||
for k, v in dct:
|
||||
for k, v in dct.items():
|
||||
setattr(self, k, v)
|
||||
|
||||
self.defined = 3
|
||||
|
||||
Reference in new issue
Block a user