mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-11 08:11:50 +08:00
Revert changes to test/completion and test/static_analysis except for 2.6 comment removal
This commit is contained in:
@@ -8,7 +8,7 @@ Jedi issues warnings for possible errors if ``__getattr__``,
|
||||
# -----------------
|
||||
|
||||
|
||||
class Cls:
|
||||
class Cls():
|
||||
def __getattr__(self, name):
|
||||
return getattr(str, name)
|
||||
|
||||
@@ -32,7 +32,7 @@ Inherited().undefined
|
||||
# -----------------
|
||||
|
||||
|
||||
class SetattrCls:
|
||||
class SetattrCls():
|
||||
def __init__(self, dct):
|
||||
# Jedi doesn't even try to understand such code
|
||||
for k, v in dct.items():
|
||||
|
||||
Reference in New Issue
Block a user