ssecorp wrote:
> dict.update({"a":1}) SETS the dict item "a" 's value to 1.That works but it's not the right way to do that, use this: d["a"] = 1 Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list
ssecorp wrote:
> dict.update({"a":1}) SETS the dict item "a" 's value to 1.That works but it's not the right way to do that, use this: d["a"] = 1 Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list