mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Make the order of overloaded functions correct
This commit is contained in:
@@ -281,11 +281,19 @@ d = dict(a=3, b='')
|
||||
x, = d.values()
|
||||
#? int() str()
|
||||
x
|
||||
#? int() str()
|
||||
#? int()
|
||||
d['a']
|
||||
#? int() str() None
|
||||
d.get('a')
|
||||
|
||||
some_dct = dict({'a': 1, 'b': ''}, a=1.0)
|
||||
#? float()
|
||||
some_dct['a']
|
||||
#? str()
|
||||
some_dct['b']
|
||||
#? int() float() str()
|
||||
some_dct['c']
|
||||
|
||||
# -----------------
|
||||
# with variable as index
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user