[issue10562] Change 'j' for imaginary unit into an 'i'

Marc-Andre Lemburg report at bugs.python.org
Fri Dec 3 10:35:32 CET 2010


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Mark Dickinson wrote:
> 
> Mark Dickinson <dickinsm at gmail.com> added the comment:
> 
> Maybe we need a complex analog to datetime.strptime:
> 
>   complex.strpcx('(3 + 4i)', '(%R + %Ii)') -> 3 + 4j

That's a good idea.

Perhaps we could also add a .strfcx() to do the formatting in much
the same way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10562>
_______________________________________


More information about the Python-bugs-list mailing list