mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-01 19:32:17 +08:00
Infer dict.get() in a fancy way
This commit is contained in:
1 parent
57fa5f5bd9
commit
9807a7f038
6 files changed
+80
-38
No files matched your search
@@ -210,7 +210,7 @@ dic2 = {'asdf': 3, 'b': 'str'}
|
||||
#? int()
|
||||
dic2['asdf']
|
||||
# TODO for now get doesn't work properly when used with a literal.
|
||||
#? None
|
||||
#? None int() str()
|
||||
dic2.get('asdf')
|
||||
|
||||
# string literal
|
||||
|
||||
Reference in new issue
Block a user