Skip to content

Commit 89a0dff

Browse files
committed
fix documentation indentation
1 parent 0588217 commit 89a0dff

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

python/binaryview.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3928,11 +3928,11 @@ def finalize_new_segments(self) -> bool:
39283928
Performs "finalization" on segments added after initial Finalization (performed after an Init() has completed).
39293929
39303930
Finalizing a segment involves optimizing the relocation info stored in that segment, so if a segment is added
3931-
and relocations are defined for that segment by some automated process, this function should be called afterwards.
3931+
and relocations are defined for that segment by some automated process, this function should be called afterwards.
39323932
39333933
An example of this can be seen in the KernelCache plugin, in `KernelCache::LoadImageWithInstallName`.
3934-
After we load an image, map new segments, and define relocations for all of them, we call this function
3935-
to let core know it is now safe to finalize the new segments
3934+
After we load an image, map new segments, and define relocations for all of them, we call this function
3935+
to let core know it is now safe to finalize the new segments
39363936
39373937
:return: Whether finalization was successful
39383938
"""
@@ -7485,8 +7485,8 @@ def create_component(self, name: Optional[str] = None, parent: Union[component.C
74857485
"""
74867486
Create a new component with an optional name and parent.
74877487
7488-
The `parent` argument can be either a Component or the Guid of a component that the created component will be
7489-
added as a child of
7488+
The `parent` argument can be either a Component or the Guid of a component to which the created component
7489+
will be added as a child
74907490
74917491
:param name: Optional name to create the component with
74927492
:param parent: Optional parent to which the component will be added

python/demangle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ def demangle_llvm(mangled_name: str, options: Optional[Union[bool, binaryview.Bi
108108
:type options: Optional[Union[bool, BinaryView]]
109109
:return: returns demangled name or None on error
110110
:rtype: Optional[List[str]]
111-
:Example:
111+
:Example:
112112
113-
>>> demangle_llvm("?testf@Foobar@@SA?AW4foo@1@W421@@Z")
113+
>>> demangle_llvm("?testf@Foobar@@SA?AW4foo@1@W421@@Z")
114114
['public: static enum Foobar::foo __cdecl Foobar::testf(enum Foobar::foo)']
115-
>>>
115+
>>>
116116
"""
117117
outName = ctypes.POINTER(ctypes.c_char_p)()
118118
outSize = ctypes.c_ulonglong()

0 commit comments

Comments
 (0)