Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Interpreter completions #1628

Closed
davidhalter opened this issue Jul 3, 2020 · 1 comment
Closed

Issue with Interpreter completions #1628

davidhalter opened this issue Jul 3, 2020 · 1 comment

Comments

@davidhalter
Copy link
Owner

davidhalter commented Jul 3, 2020

This doesn't work, but it should (see jupyter/notebook#2435):

import numpy as np
import jedi
arr = np.array([1,2])
jedi.Interpreter('arr = np.array([1,2])\narr.', [{'np':np, 'arr': arr}]).complete(2,4)
@davidhalter
Copy link
Owner Author

@gph82 Since you originally reported this: This should be fixed now. Feel free to test again, just use Jedi's master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant