Thanks to visit codestin.com
Credit goes to github.com

Skip to content

py.Complex is missing __str__ and __repr__ #30

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

Closed
raff opened this issue Oct 9, 2018 · 1 comment
Closed

py.Complex is missing __str__ and __repr__ #30

raff opened this issue Oct 9, 2018 · 1 comment

Comments

@raff
Copy link
Contributor

raff commented Oct 9, 2018

Printing a complex number displays the py.Complex type instead of the real+imag values:

>>> print(3+1j)
<complex64 instance at %!p(py.Complex=(3+1i))>
@ncw
Copy link
Collaborator

ncw commented Oct 11, 2018

THis is all done now - thanks @raff

PS Next time put Fixes #31 in the commit message and it will auto close the issue :-)

@ncw ncw closed this as completed Oct 11, 2018
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