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

Document usage of ! #173

Open
PythonCoderAS opened this issue May 6, 2022 · 2 comments
Open

Document usage of ! #173

PythonCoderAS opened this issue May 6, 2022 · 2 comments
Labels
insufficient documentation this needs to be either documented, or documented better

Comments

@PythonCoderAS
Copy link

The Problem

I ran into a weird case by putting an exclamation mark in my command:

!jsk py os!.walk

This seems to import os and then returns the walk function.

The Ideal Solution

This behavior should be documented.

The Current Solution

There is no documentation

Summary

Documentation of hidden feature

@syricium
Copy link

If you look into the source code, you can see that it uses the import-expression module, and it's behavior is documented at the module's PyPI page

@PythonCoderAS
Copy link
Author

I think a small note that "jsk py uses import expressions" on the command's doc page wouldn't hurt.

@Gorialis Gorialis added the insufficient documentation this needs to be either documented, or documented better label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
insufficient documentation this needs to be either documented, or documented better
Projects
None yet
Development

No branches or pull requests

3 participants