As he said: this is not the appropriate use for this mailing list.

On Tue, Oct 19, 2021, 10:05 AM <[email protected]> wrote:

> > You could use `dis.dis` to compare the two expressions and see that they
> compile to the same bytecode.
>
> Do you mean the following:
>
> In [1]: import numpy as np
> In [2]: from dis import dis
> In [7]: dis('bool')
>   1           0 LOAD_NAME                0 (bool)
>               2 RETURN_VALUE
>
> In [8]: dis('(bool)')
>   1           0 LOAD_NAME                0 (bool)
>               2 RETURN_VALUE
> _______________________________________________
> NumPy-Discussion mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> Member address: [email protected]
>
_______________________________________________
NumPy-Discussion mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: [email protected]

Reply via email to