Can I somehow call a function without the ()
? Maybe abusing the magic methods such as __call__()
somehow?
I'd like to be able to something similar to
from IPython import embed as qq
but call embed()
only via qq
rather than qq()
This is more out of curiosity, and as a learning exercise for python, rather than practical purposes.