summaryrefslogtreecommitdiff
path: root/brain/py2stdlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'brain/py2stdlib.py')
-rw-r--r--brain/py2stdlib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/brain/py2stdlib.py b/brain/py2stdlib.py
index cea3a79f..53a9b8af 100644
--- a/brain/py2stdlib.py
+++ b/brain/py2stdlib.py
@@ -29,16 +29,16 @@ def hashlib_transform(module):
fake = AstroidBuilder(MANAGER).string_build('''
class md5(object):
- def __init__(self, value): pass
- def digest():
+ def __init__(self, value=''): pass
+ def digest(self):
return u''
def update(self, value): pass
def hexdigest(self):
return u''
class sha1(object):
- def __init__(self, value): pass
- def digest():
+ def __init__(self, value=''): pass
+ def digest(self):
return u''
def update(self, value): pass
def hexdigest(self):