diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/typearchive.py | 4 | ||||
| -rw-r--r-- | python/typelibrary.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/python/typearchive.py b/python/typearchive.py index b3f9c0d9..b94cd62e 100644 --- a/python/typearchive.py +++ b/python/typearchive.py @@ -607,8 +607,8 @@ class TypeArchive: """ Look up a metadata entry in the archive - ..note: As of Binary Ninja 5.3 this API now raises KeyError on failure. Please use `get_metadata` - for a non-raising version of the API. + .. note:: As of Binary Ninja 5.3 this API now raises KeyError on failure. \ + Please use `get_metadata` for a non-raising version of the API. :param string key: key to query :rtype: Metadata associated with the key, if it exists. Otherwise, None diff --git a/python/typelibrary.py b/python/typelibrary.py index 5409946c..65aabb12 100644 --- a/python/typelibrary.py +++ b/python/typelibrary.py @@ -237,11 +237,11 @@ class TypeLibrary: """ `query_metadata` retrieves a metadata associated with the given key stored in the type library + .. note:: As of Binary Ninja 5.3 this API now raises KeyError on failure. \ + Please use `get_metadata` for a non-raising version of the API. + :param string key: key to query :rtype: metadata associated with the key - ..note: As of Binary Ninja 5.3 this API now raises KeyError on failure. Please use `get_metadata` - for a non-raising version of the API. - :Example: >>> lib.store_metadata("ordinals", {"9": "htons"}) |
