@@ -1046,7 +1046,7 @@ def parser(attr, instance, match)
10461046
10471047 where `attr` is this object, and `match` is the match done on the line.
10481048 (Note that `match.string` will return the full line used to match against).
1049- updatable :
1049+ updateable :
10501050 control whether a new match on the line will update using `parser`.
10511051 If false, only the first match will update the value
10521052 default:
@@ -1064,7 +1064,7 @@ def not_found(obj, attr): # do something
10641064 "name" ,
10651065 "searcher" ,
10661066 "parser" ,
1067- "updatable " ,
1067+ "updateable " ,
10681068 "default" ,
10691069 "value" ,
10701070 "found" ,
@@ -1080,7 +1080,7 @@ def __init__(
10801080 [InfoAttr , BaseSile , Union [str , re .Match ]], Any
10811081 ] = lambda attr , inst , line : line ,
10821082 doc : str = "" ,
1083- updatable : bool = False ,
1083+ updateable : bool = False ,
10841084 default : Optional [Any ] = None ,
10851085 found : bool = False ,
10861086 not_found : Union [None , str , Callable [[Any , InfoAttr ], None ]] = None ,
@@ -1116,7 +1116,7 @@ def used_searcher(info, instance, line):
11161116
11171117 self .searcher = used_searcher
11181118 self .parser = parser
1119- self .updatable = updatable
1119+ self .updateable = updateable
11201120
11211121 # Figure out if `self` is in the arguments of `default`
11221122 # If so, instance bind it, use MethodType
@@ -1171,7 +1171,7 @@ def not_found(obj, attr):
11711171 self .not_found = not_found
11721172
11731173 def process (self , instance , line ):
1174- if self .found and not self .updatable :
1174+ if self .found and not self .updateable :
11751175 return False
11761176
11771177 return self .searcher (self , instance , line )
@@ -1186,7 +1186,7 @@ def copy(self, instance: Any = None):
11861186 searcher = self .searcher ,
11871187 parser = self .parser ,
11881188 doc = self .doc ,
1189- updatable = self .updatable ,
1189+ updateable = self .updateable ,
11901190 default = self .value ,
11911191 found = self .found ,
11921192 not_found = self .not_found ,
0 commit comments