Hi!
Thanks! That was a typo. I do '=='.
The rest of the mail is ok (with the corrections from Chris)
:) T
Den 24. maj 2016 klokken 17:05 skrev Novocastrian_Nomad
<[email protected]>:
On Tuesday, May 24, 2016 at 5:47:55 AM UTC-6, thomas povtal.org wrote:
...
> 1: I get "RuntimeWarning: tp_compare didn't return -1 or -2 for
> exception". It's a line like:
>
> "if Foo = False:" where Foo is a global variable (global Foo).
...
Are you really using "if Foo = False:"?
If so, it should be "if Foo == False:"
"==" for equivalence rather than "=" for assignment.
--
https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list