summaryrefslogtreecommitdiff
path: root/brain/py2stdlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'brain/py2stdlib.py')
-rw-r--r--brain/py2stdlib.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/brain/py2stdlib.py b/brain/py2stdlib.py
index 976cef46..50ba5576 100644
--- a/brain/py2stdlib.py
+++ b/brain/py2stdlib.py
@@ -15,11 +15,17 @@ def hashlib_transform(module):
class md5(object):
def __init__(self, value): pass
+ def digest():
+ return u''
+ def update(self, value): pass
def hexdigest(self):
return u''
class sha1(object):
def __init__(self, value): pass
+ def digest():
+ return u''
+ def update(self, value): pass
def hexdigest(self):
return u''