mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-15 08:41:07 +08:00
Refactor stdlib PartialObject
Merges PartialObject and PartialMethodObject. Also adds more tests. Some parts are still WIP, see: #1522. Fixes #1519
This commit is contained in:
1 parent
fd6540a9e5
commit
2406e58386
2 files changed
+17
-44
No files matched your search
@@ -169,6 +169,11 @@ X().a('')[0]
|
||||
#? str()
|
||||
X().a('')[1]
|
||||
|
||||
#? int()
|
||||
X.a('')[0]
|
||||
#? str()
|
||||
X.a('')[1]
|
||||
|
||||
#? int()
|
||||
X.a(X(), '')[0]
|
||||
#? str()
|
||||
@@ -180,6 +185,12 @@ tup[0]
|
||||
#? float()
|
||||
tup[1]
|
||||
|
||||
tup = X.kw(1)
|
||||
#? int()
|
||||
tup[0]
|
||||
#? float()
|
||||
tup[1]
|
||||
|
||||
tup = X.kw(X(), 1)
|
||||
#? int()
|
||||
tup[0]
|
||||
|
||||
Reference in new issue
Block a user