[pyclutter/wip/introspection] Fix Clutter.Color.__setitem__() method
- From: Bastian Winkler <bwinkler src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyclutter/wip/introspection] Fix Clutter.Color.__setitem__() method
- Date: Wed, 18 Apr 2012 13:48:33 +0000 (UTC)
commit af7c09b010b84944d46dfe16ada297376f41ecbd
Author: Bastian Winkler <buz netbuz org>
Date: Tue Apr 17 13:09:42 2012 +0200
Fix Clutter.Color.__setitem__() method
introspection/Clutter.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/introspection/Clutter.py b/introspection/Clutter.py
index 5d2e102..37b6824 100644
--- a/introspection/Clutter.py
+++ b/introspection/Clutter.py
@@ -122,7 +122,7 @@ class Color(Clutter.Color):
else:
raise TypeError("sequence index must be integer")
- def __setitem__(self, index, value):
+ def __setitem__(self, key, value):
if isinstance(key, int):
if key == 0:
self.red = value
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]