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

[docs][PythonCall] document syntax for "from ... import ..." #453

Open
CarloLucibello opened this issue Feb 9, 2024 · 1 comment
Open

Comments

@CarloLucibello
Copy link
Contributor

CarloLucibello commented Feb 9, 2024

It took me some digging through the issues to discover that the python import

from x import f as g

can be translated in julia to

using PythonCall
@py import x: f as g 

Can this be added to the PythonCall's guide in the documentation?

@cjdoris
Copy link
Collaborator

cjdoris commented Feb 17, 2024

Sure, please make a PR to update the docstring for @py.

sadish-d added a commit to sadish-d/PythonCall.jl that referenced this issue Apr 18, 2024
Trying to help update the doc with the following issue. Not sure if this is the right way to contribute (first time doing it).

JuliaPy#453
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

2 participants