[wingide-users] Autocompletion ignores [x, y] = whatever

Michael Foord fuzzyman at voidspace.org.uk
Sat Mar 27 15:56:14 MDT 2010


On 27/03/2010 21:51, cool-RR wrote:
>
> a = 1
> [b] = 1
> c = 1
> [d, e] = [1, 1]

Well [b] = 1 is a syntax error so you wouldn't get b offered in 
autocompletion. The assignment to d, e is weird but valid - so I don't 
know why they aren't offered. It would be more normal to write:

d, e = 1, 1

Or even:

d, e = [1, 1]

Michael

-- 
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.




More information about the wingide-users mailing list