Updated Caper to v0.2.9

This commit is contained in:
Dean Gardiner
2013-12-09 11:23:57 +13:00
parent f648af66a6
commit 93aa5b1920
6 changed files with 84 additions and 30 deletions
+8 -2
View File
@@ -16,7 +16,10 @@ from caper.helpers import xrange_six
class CaperClosure(object):
def __init__(self, value):
def __init__(self, index, value):
#: :type: int
self.index = index
#: :type: str
self.value = value
@@ -30,7 +33,10 @@ class CaperClosure(object):
class CaperFragment(object):
def __init__(self):
def __init__(self, closure=None):
#: :type: CaperClosure
self.closure = closure
#: :type: str
self.value = ""