To whom it may concern
https://docs.python.org/3/library/cmath.html#module-cmath
Page says
this means that the sign of the result is the same as the sign of x.imag,
even when x.imag is zero.
But I think
*'x.real' *is right.
Sincerely,
!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*
Name : YoungJun Lee
Cell Phone : +82-10-6657-3411
Blog: https://hackedbypsychedelphia.blogspot.com/
!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*!~*
Thanks for being a volunteer and helping to make Python more perfect. In the documentation for struct.unpack_from I think there is an error: the "/" should not be present?
https://docs.python.org/3/library/struct.html
struct.unpack_from(format, /, buffer, offset=0)
[cid:image003.jpg@01D7ED1A.8570BE10]
regards,
Neal.
This isn't a bug, but I noticed that the input function isn't mentioned
much in the tutorial. I think it would be useful to formally cover the
input function in the input and output chapter of the tutorial.