File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -163,16 +163,9 @@ STATIC mp_obj_t hash_digest(mp_obj_t self_in) {
163
163
}
164
164
MP_DEFINE_CONST_FUN_OBJ_1 (hash_digest_obj , hash_digest );
165
165
166
- STATIC mp_obj_t hash_hexdigest (mp_obj_t self_in ) {
167
- (void )self_in ;
168
- mp_not_implemented ("" );
169
- }
170
- MP_DEFINE_CONST_FUN_OBJ_1 (hash_hexdigest_obj , hash_hexdigest );
171
-
172
166
STATIC const mp_map_elem_t hash_locals_dict_table [] = {
173
167
{ MP_OBJ_NEW_QSTR (MP_QSTR_update ), (mp_obj_t ) & hash_update_obj },
174
168
{ MP_OBJ_NEW_QSTR (MP_QSTR_digest ), (mp_obj_t ) & hash_digest_obj },
175
- { MP_OBJ_NEW_QSTR (MP_QSTR_hexdigest ), (mp_obj_t ) & hash_hexdigest_obj },
176
169
};
177
170
178
171
STATIC MP_DEFINE_CONST_DICT (hash_locals_dict , hash_locals_dict_table );
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ Q(binascii)
74
74
Q (re )
75
75
Q (json )
76
76
Q (heapq )
77
+ Q (hashlib )
77
78
78
79
// for os module
79
80
Q (uos )
@@ -350,11 +351,9 @@ Q(POSITIVE)
350
351
Q (NEGATIVE )
351
352
352
353
// for uhashlib module
353
- Q (hashlib )
354
354
Q (uhashlib )
355
355
Q (update )
356
356
Q (digest )
357
- Q (hexdigest )
358
357
//Q(md5)
359
358
Q (sha1 )
360
359
Q (sha256 )
You can’t perform that action at this time.
0 commit comments