mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
27 lines
344 B
Python
27 lines
344 B
Python
"""
|
|
Special cases of completions (typically special positions that caused issues
|
|
with context parsing.
|
|
"""
|
|
|
|
def pass_decorator(func):
|
|
return func
|
|
|
|
|
|
def x():
|
|
return (
|
|
1,
|
|
#? ["tuple"]
|
|
tuple
|
|
)
|
|
|
|
# Comment just somewhere
|
|
|
|
|
|
class MyClass:
|
|
@pass_decorator
|
|
def x(foo,
|
|
#? 5 ["tuple"]
|
|
tuple,
|
|
):
|
|
return 1
|