From c788961c5a7ff667d0b6237711f7747cac5be610 Mon Sep 17 00:00:00 2001 From: Galen Williamson Date: Fri, 19 Apr 2024 17:11:04 -0400 Subject: docstring hygiene maintenance in python API --- python/filemetadata.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'python/filemetadata.py') diff --git a/python/filemetadata.py b/python/filemetadata.py index a5dda467..e0222fd2 100644 --- a/python/filemetadata.py +++ b/python/filemetadata.py @@ -120,17 +120,14 @@ class FileMetadata: """ ``class FileMetadata`` represents the file being analyzed by Binary Ninja. It is responsible for opening, closing, creating the database (.bndb) files, and is used to keep track of undoable actions. + + :param str filename: The string path to the file to be opened. Defaults to None. + :param handle: A handle to the underlying C FileMetadata object. Defaults to None. (Internal use only.) """ _associated_data = {} def __init__(self, filename: Optional[str] = None, handle: Optional[core.BNFileMetadataHandle] = None): - """ - Instantiates a new FileMetadata class. - - :param str filename: The string path to the file to be opened. Defaults to None. - :param handle: A handle to the underlying C FileMetadata object. Defaults to None. - """ if handle is not None: _type = core.BNFileMetadataHandle _handle = ctypes.cast(handle, _type) -- cgit v1.3.1