summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/gl
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-08 15:24:48 (GMT)
committerGuido van Rossum <guido@python.org>1998-10-08 15:24:48 (GMT)
commit9c2c1e88a352c947eac2c9eb8b91908f1b5abaad (patch)
tree1409948b07587c6bdecd570b5e41e2eb36d86da1 /Demo/sgi/gl
parent215193bd93f898b21ed75befd412095d99dee601 (diff)
downloadcpython-9c2c1e88a352c947eac2c9eb8b91908f1b5abaad.zip
cpython-9c2c1e88a352c947eac2c9eb8b91908f1b5abaad.tar.gz
cpython-9c2c1e88a352c947eac2c9eb8b91908f1b5abaad.tar.bz2
Fix multi-arg list.append() calls.
Diffstat (limited to 'Demo/sgi/gl')
-rwxr-xr-xDemo/sgi/gl/mclock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/gl/mclock.py b/Demo/sgi/gl/mclock.py
index b1dfa1b..6af01ba 100755
--- a/Demo/sgi/gl/mclock.py
+++ b/Demo/sgi/gl/mclock.py
@@ -348,7 +348,7 @@ def makesublist(first, icolor):
for i in range(Gl.nparts):
angle = (a + i*alpha + FULLC) % FULLC
value = 255*(Gl.nparts-1-i)/(Gl.nparts-1)
- list.append(angle, icolor, value)
+ list.append((angle, icolor, value))
list.sort()
a, icolor, value = list[0]
if a <> 0:
@@ -416,7 +416,7 @@ def render(list, (little_hand, big_hand, seconds_hand)):
Gl.c3i((255, 255, 255)) # White
circf(0.0, 0.0, 1.0)
else:
- list.append(3600, 0, 255) # Sentinel
+ list.append((3600, 0, 255)) # Sentinel
#
rgb = [255, 255, 255]
a_prev = 0