diff --git a/wikibot/wikipush.py b/wikibot/wikipush.py index 0c45a58..95d7ba4 100644 --- a/wikibot/wikipush.py +++ b/wikibot/wikipush.py @@ -194,7 +194,7 @@ def getDiff(text,newText,n=1,forHuman=True): return diffStr @staticmethod - def getModify(search,replace,debug:False): + def getModify(search:str,replace:str,debug:bool=False): ''' get the modification function