summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJordan Wiens <github@psifertex.com>2026-01-16 18:52:07 -0500
committerJordan Wiens <github@psifertex.com>2026-01-16 18:52:07 -0500
commit480abefcec79532852a198d2c13123c3217f2cea (patch)
tree8900ef90784adeeebcee40d2bcbde77fdbd4016a /python
parent6a29fc1d2cd2f33d0e8605edb6d3d30dbc63450c (diff)
fix pydoc formatting for recent metadata API changes
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py1
-rw-r--r--python/function.py1
-rw-r--r--python/project.py1
-rw-r--r--python/typearchive.py1
-rw-r--r--python/typelibrary.py1
5 files changed, 5 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index df534abd..54898478 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -10335,6 +10335,7 @@ to a the type "tagRECT" found in the typelibrary "winX64common"
`get_metadata` retrieves a metadata value associated with the given key stored in the current BinaryView.
This method behaves like `dict.get()`:
+
- If the key exists, its metadata value is returned.
- If the key does not exist and `default` is not provided, `None` is returned.
- If the key does not exist and `default` is provided, `default` is returned.
diff --git a/python/function.py b/python/function.py
index 66a8c0dc..a592efba 100644
--- a/python/function.py
+++ b/python/function.py
@@ -3659,6 +3659,7 @@ class Function:
`get_metadata` retrieves a metadata value associated with the given key stored in the current Function.
This method behaves like `dict.get()`:
+
- If the key exists, its metadata value is returned.
- If the key does not exist and `default` is not provided, `None` is returned.
- If the key does not exist and `default` is provided, `default` is returned.
diff --git a/python/project.py b/python/project.py
index ba7cf2d3..fc274ac2 100644
--- a/python/project.py
+++ b/python/project.py
@@ -550,6 +550,7 @@ class Project:
`get_metadata` retrieves a metadata value associated with the given key stored in the current Project.
This method behaves like `dict.get()`:
+
- If the key exists, its metadata value is returned.
- If the key does not exist and `default` is not provided, `None` is returned.
- If the key does not exist and `default` is provided, `default` is returned.
diff --git a/python/typearchive.py b/python/typearchive.py
index 218589b3..b3f9c0d9 100644
--- a/python/typearchive.py
+++ b/python/typearchive.py
@@ -629,6 +629,7 @@ class TypeArchive:
`get_metadata` retrieves a metadata value associated with the given key stored in the current TypeArchive.
This method behaves like `dict.get()`:
+
- If the key exists, its metadata value is returned.
- If the key does not exist and `default` is not provided, `None` is returned.
- If the key does not exist and `default` is provided, `default` is returned.
diff --git a/python/typelibrary.py b/python/typelibrary.py
index 457cbd99..5409946c 100644
--- a/python/typelibrary.py
+++ b/python/typelibrary.py
@@ -258,6 +258,7 @@ class TypeLibrary:
`get_metadata` retrieves a metadata value associated with the given key stored in the current BinaryView.
This method behaves like `dict.get()`:
+
- If the key exists, its metadata value is returned.
- If the key does not exist and `default` is not provided, `None` is returned.
- If the key does not exist and `default` is provided, `default` is returned.