diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2014-02-09 14:12:47 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-02-09 14:12:47 -0500 |
| commit | 0e44d6b2abc8aa8dba6569fe089d49c9359716ac (patch) | |
| tree | faf8d92822591692f7570eaeb9fcaf51874b6599 /pkg_resources.py | |
| parent | b884660784a7404aa16bd3649e2a768ccb93901d (diff) | |
| download | python-setuptools-git-0e44d6b2abc8aa8dba6569fe089d49c9359716ac.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.py | 2 |
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 = {} |
