Commits

Guido van Rossum  committed 9c1ae60

setsize has two arguments: width, height.

  • Participants
  • Parent commits bb54ff4
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Demo/sgi/video/VFile.py

 
 	# Set the frame width and height (e.g. from gl.getsize())
 
-	def setsize(self, size):
-		self.width, self.height = size
+	def setsize(self, width, height):
+		self.width, self.height = width, height
 
 	# Retrieve the frame width and height (e.g. for gl.prefsize())
 
 	def setinfo(self, values):
 		raise CallError # Can't change info of input file!
 
-	def setsize(self, size):
+	def setsize(self, width, height):
 		raise CallError # Can't change info of input file!
 
 	def rewind(self):