From bdaa4a5899c25618e0db3626f31e523443be1c40 Mon Sep 17 00:00:00 2001 From: IceArmy Date: Thu, 15 Sep 2011 22:06:52 -0700 Subject: [PATCH] Rename plugincontroller set() to set_() to avoid clashes with built-in set() --- python/pyphantomjs/plugincontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyphantomjs/plugincontroller.py b/python/pyphantomjs/plugincontroller.py index 3064eacd..d98cd4ea 100644 --- a/python/pyphantomjs/plugincontroller.py +++ b/python/pyphantomjs/plugincontroller.py @@ -132,7 +132,7 @@ def remove_all_actions(hook, priority=None): return False -def set(name, value, depth=3, scope='local'): +def set_(name, value, depth=3, scope='local'): '''Sets the value of a variable in the parents namespace Args: