Things I need to remember about Python #1

dicta.update(dictb) DOES NOT RETURN ANYTHING. It modifies the dictionary in place, so if you do
dicta = dicta.update(dictb)
dicta will now be None.

Thanks brain. Let’s hold onto this.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>