changeset 246:c0acf53c72c1

functions: renamed get to input
author Sigurd Meldgaard <stm@daimi.au.dk>
date Wed, 06 Jan 2010 11:21:21 +0100
parents 6b8310448378
children 26f0f4a81ef4
files pysmcl/functions.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/functions.py	Wed Jan 06 11:17:44 2010 +0100
+++ b/pysmcl/functions.py	Wed Jan 06 11:21:21 2010 +0100
@@ -3,7 +3,7 @@
 import random
 #from viff. import 
 
-def get(runtime, prompt, player, lower, upper):
+def input(runtime, prompt, player, lower, upper):
     """ Queries player for an integer in the interval between lower
     and upper, and returns a sharing of the value."""
     if runtime.id == player: