diff options
| author | Jeff Epler <jepler@gmail.com> | 2018-05-06 12:29:55 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2018-05-06 12:31:54 -0500 |
| commit | 11a97bdffeedb933939514a7e6e27ac8796cb978 (patch) | |
| tree | 515672ddc4043c6f7351bef3358622e0b067a701 /extmod | |
| parent | 005226ae548a45bde03a2b2400998185aa68495e (diff) | |
uhashlib: masquerade as hashlib for python3 compatibility
Diffstat (limited to 'extmod')
| -rw-r--r-- | extmod/moduhashlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/moduhashlib.c b/extmod/moduhashlib.c index 7599b8496..7ae42a15f 100644 --- a/extmod/moduhashlib.c +++ b/extmod/moduhashlib.c @@ -149,7 +149,7 @@ STATIC const mp_obj_type_t sha1_type = { #endif STATIC const mp_rom_map_elem_t mp_module_hashlib_globals_table[] = { - { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_uhashlib) }, + { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_hashlib) }, { MP_ROM_QSTR(MP_QSTR_sha256), MP_ROM_PTR(&sha256_type) }, #if MICROPY_PY_UHASHLIB_SHA1 { MP_ROM_QSTR(MP_QSTR_sha1), MP_ROM_PTR(&sha1_type) }, |
