aboutsummaryrefslogtreecommitdiffstats
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
commit0e44d6b2abc8aa8dba6569fe089d49c9359716ac (patch)
treefaf8d92822591692f7570eaeb9fcaf51874b6599
parentb884660784a7404aa16bd3649e2a768ccb93901d (diff)
downloadexternal_python_setuptools-0e44d6b2abc8aa8dba6569fe089d49c9359716ac.tar.gz
external_python_setuptools-0e44d6b2abc8aa8dba6569fe089d49c9359716ac.tar.bz2
external_python_setuptools-0e44d6b2abc8aa8dba6569fe089d49c9359716ac.zip
I checked this syntax, then failed to update the code before committing.
-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 = {}