Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.py')
-rw-r--r--helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers.py b/helpers.py
index 335852c..1d0d2fe 100644
--- a/helpers.py
+++ b/helpers.py
@@ -147,7 +147,7 @@ def decomposePoly(vertices):
count = 2 * nv
return result
-def cast_tuple_to_int(tuple_input):
+def tuple_to_int(tuple_input):
"""Cast tuple values to ints to avoid gtk+ and pygame's dislike of floats.
"""
return [int(i) for i in tuple_input]