Explorar el Código

Added default empty argument list to possibility.

Taddeus Kroes hace 14 años
padre
commit
e08af8cf8a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/possibilities.py

+ 1 - 1
src/possibilities.py

@@ -6,7 +6,7 @@ MESSAGES = {}
 
 
 class Possibility(object):
-    def __init__(self, root, handler, args):
+    def __init__(self, root, handler, args=()):
         self.root = root
         self.handler = handler
         self.args = args