summaryrefslogtreecommitdiff
path: root/pkg_resources.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-02-09 14:12:47 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-02-09 14:12:47 -0500
commit44295182009474f56c5b981e29d147af934c0c71 (patch)
tree4397f7627c8dc4a664c9cefdcac09b0166d48c66 /pkg_resources.py
parent9210e272b529c5c5ca1b430ca2145b5de9de2d36 (diff)
downloadpython-setuptools-bitbucket-44295182009474f56c5b981e29d147af934c0c71.tar.gz
I checked this syntax, then failed to update the code before committing.
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index 0120ab4f..9e98e671 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -91,7 +91,7 @@ _state_vars = {}
def _declare_state(vartype, **kw):
globals().update(kw)
- _state_vars.update(dict.from_keys(kw, vartype))
+ _state_vars.update(dict.fromkeys(kw, vartype))
def __getstate__():
state = {}