mirror of
https://github.com/davidhalter/jedi.git
synced 2026-03-01 05:46:51 +08:00
Operator fixes. Subclass of Simple, now.
This commit is contained in:
@@ -48,7 +48,7 @@ class CompiledObject(Base):
|
||||
for p in tokens:
|
||||
parts = [FakeName(part) for part in p.strip().split('=')]
|
||||
if len(parts) >= 2:
|
||||
parts.insert(1, Operator('=', (0, 0)))
|
||||
parts.insert(1, Operator(module, '=', module, (0, 0)))
|
||||
params.append(Param(module, parts, start_pos,
|
||||
end_pos, builtin))
|
||||
return params
|
||||
|
||||
Reference in New Issue
Block a user