mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Fix an issue with api_name of class attributes, fixes #1688
This commit is contained in:
@@ -214,6 +214,20 @@ f
|
||||
#? str()
|
||||
g
|
||||
|
||||
# -----------------
|
||||
# setitem
|
||||
# -----------------
|
||||
|
||||
class F:
|
||||
setitem_x = [1,2]
|
||||
setitem_x[0] = 3
|
||||
|
||||
#? ['setitem_x']
|
||||
F().setitem_x
|
||||
#? list()
|
||||
F().setitem_x
|
||||
|
||||
|
||||
# -----------------
|
||||
# dicts
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user