1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

Fixed python header

This commit is contained in:
slush0 2016-09-27 14:48:06 +02:00 committed by Pavol Rusnak
parent 43dafb2efc
commit 9eaf34a2c7
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -27,7 +27,7 @@ STATIC mp_obj_t mod_TrezorConfig_Config_make_new(const mp_obj_type_t *type, size
return MP_OBJ_FROM_PTR(o);
}
/// def trezor.config.get(app: int, key: int) -> bytes
/// def trezor.config.get(app: int, key: int) -> bytes:
/// '''
/// Gets a value of given key for given app (or None if not set).
/// '''
@ -36,7 +36,7 @@ STATIC mp_obj_t mod_TrezorConfig_Config_get(mp_obj_t self, mp_obj_t app, mp_obj_
}
STATIC MP_DEFINE_CONST_FUN_OBJ_3(mod_TrezorConfig_Config_get_obj, mod_TrezorConfig_Config_get);
/// def trezor.config.set(app: int, key: int) -> bool
/// def trezor.config.set(app: int, key: int) -> bool:
/// '''
/// Sets a value of given key for given app.
/// Returns True on success.