mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
Fixed python header
This commit is contained in:
parent
43dafb2efc
commit
9eaf34a2c7
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user