summaryrefslogtreecommitdiff
path: root/python/filemetadata.py
diff options
context:
space:
mode:
authorkat <katherine@vector35.com>2022-08-09 12:35:46 -0400
committercynder <KritantaDevelopment@gmail.com>2022-08-09 10:14:57 -0700
commitf0242daca9922b6a6bf6acc79987ff47f9f6f70f (patch)
tree3e61b1b5eccb834e3d4bb4bc0df93d98ddf08e66 /python/filemetadata.py
parentf49ae00f6d15a81876788df15f1678619a4c791d (diff)
Add New Theme and some C++ API Documentation
Diffstat (limited to 'python/filemetadata.py')
-rw-r--r--python/filemetadata.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/filemetadata.py b/python/filemetadata.py
index bd9a9954..6b655fee 100644
--- a/python/filemetadata.py
+++ b/python/filemetadata.py
@@ -165,6 +165,7 @@ class FileMetadata:
@property
def nav(self) -> Optional[NavigationHandler]:
+ """Navigation handler for this FileMetadata (read/write)"""
return self._nav
@nav.setter
@@ -304,7 +305,7 @@ class FileMetadata:
def begin_undo_actions(self) -> None:
"""
- ``begin_undo_actions`` start recording actions taken so the can be undone at some point.
+ ``begin_undo_actions`` start recording actions taken so they can be undone at some point.
:rtype: None
:Example:
@@ -502,7 +503,7 @@ class FileMetadata:
if view_type is None:
return None
- assert self.raw is not None, "BinaryView.save_auto_snapshot called when raw view is None"
+ assert self.raw is not None, "BinaryView.get_view_of_type called when raw view is None"
view = core.BNCreateBinaryViewOfType(view_type, self.raw.handle)
if view is None:
return None