commit | 76b387bf7402863c5e64e3459e2f91ddc3b9d2d3 | [log] [tgz] |
---|---|---|
author | Slam <3lnc.slam@gmail.com> | Wed Apr 03 00:47:41 2019 +0300 |
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Tue Apr 02 14:47:41 2019 -0700 |
tree | 65bb8972e9a945041ab7d35424a5c2f197afbfcd | |
parent | 1c5fa5af8a95f25119e45e40a4ed8183d06f4a5b [diff] |
Have UserDict.__init__() implicitly check for updating w/ bool(kwargs) instead of len() (GH-12139) Semantically the same, but more idiomatic by checking against `kwargs` instead of `len(kwargs)`.