We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
arg_name=True
from objprint import op def func(): return 1 cc = op(func(), arg_name=True)
maybe it's because here:
objprint/src/objprint/frame_analyzer.py
Lines 55 to 58 in 7920c86
module is None for Jupyter & IPython, but they have file: jupyter:
ipython:
and source can be retrieved with:
Change to source = inspect.getsource(frame) will work:
source = inspect.getsource(frame)
The text was updated successfully, but these errors were encountered:
Hmm, okay. I'll admit that I don't use Jupyter so it's never my first priority. I'll take a look at this and see if can be gracefully fixed.
Sorry, something went wrong.
No branches or pull requests
maybe it's because here:
objprint/src/objprint/frame_analyzer.py
Lines 55 to 58 in 7920c86
module is None for Jupyter & IPython, but they have file:
jupyter:
ipython:
and source can be retrieved with:
Change to
source = inspect.getsource(frame)
will work:The text was updated successfully, but these errors were encountered: