@@ -215,7 +215,7 @@ class COPY(Source):
215215 """Create a Pattern with the translation value from the given source."""
216216
217217 def __call__ (self , ctx ):
218- element = super (self . __class__ , self ).__call__ (ctx )
218+ element = super (COPY , self ).__call__ (ctx )
219219 return Transform .pattern_of (element )
220220
221221
@@ -273,11 +273,11 @@ class REPLACE(Source):
273273 """
274274
275275 def __init__ (self , path , key , replacements ):
276- super (self . __class__ , self ).__init__ (path , key )
276+ super (REPLACE , self ).__init__ (path , key )
277277 self .replacements = replacements
278278
279279 def __call__ (self , ctx ):
280- element = super (self . __class__ , self ).__call__ (ctx )
280+ element = super (REPLACE , self ).__call__ (ctx )
281281 return REPLACE_IN_TEXT (element , self .replacements )(ctx )
282282
283283
@@ -294,12 +294,12 @@ class PLURALS(Source):
294294 DEFAULT_ORDER = ('zero' , 'one' , 'two' , 'few' , 'many' , 'other' )
295295
296296 def __init__ (self , path , key , selector , foreach = Transform .pattern_of ):
297- super (self . __class__ , self ).__init__ (path , key )
297+ super (PLURALS , self ).__init__ (path , key )
298298 self .selector = selector
299299 self .foreach = foreach
300300
301301 def __call__ (self , ctx ):
302- element = super (self . __class__ , self ).__call__ (ctx )
302+ element = super (PLURALS , self ).__call__ (ctx )
303303 selector = evaluate (ctx , self .selector )
304304 keys = ctx .plural_categories
305305 forms = [
0 commit comments