Jan Christoph <con-f-...@gmx.net> added the comment:

But the simpler dictionary compprehension `{s.replace('(+/-)',''):None for s in 
infts.split(', ')}` works perfectly. Shouldn't that also give the error if it 
was a scope issue?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34076>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to