From 0e44d6b2abc8aa8dba6569fe089d49c9359716ac Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 9 Feb 2014 14:12:47 -0500 Subject: I checked this syntax, then failed to update the code before committing. --- pkg_resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg_resources.py') 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 = {} -- cgit v1.2.3