Unification Idea

Raymond Hettinger othello at javanet.com
Thu May 10 10:43:27 EDT 2001


Alex Martelli wrote:

> I think a better "works now" solution might be:
>
>     def conj(x):
>         try: return x.conjugate()
>         except AttributeError: return x
>     map(conj, arr)
>

Thanks.  I knew there had to be a better way.




More information about the Python-list mailing list