mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-28 01:33:17 +08:00
Fix PartialMethodObject (WIP)
Implemented feedback from PR #1522. Does not pass new tests in test/completion/stdlib.py
This commit is contained in:
1 parent
96c969687a
commit
fd6540a9e5
3 files changed
+28
-10
No files matched your search
@@ -169,12 +169,24 @@ X().a('')[0]
|
||||
#? str()
|
||||
X().a('')[1]
|
||||
|
||||
#? int()
|
||||
X.a(X(), '')[0]
|
||||
#? str()
|
||||
X.a(X(), '')[1]
|
||||
|
||||
tup = X().kw(1)
|
||||
#? int()
|
||||
tup[0]
|
||||
#? float()
|
||||
tup[1]
|
||||
|
||||
tup = X.kw(X(), 1)
|
||||
#? int()
|
||||
tup[0]
|
||||
#? float()
|
||||
tup[1]
|
||||
|
||||
|
||||
def my_decorator(f):
|
||||
@functools.wraps(f)
|
||||
def wrapper(*args, **kwds):
|
||||
|
||||
Reference in new issue
Block a user