diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2021-11-08 13:22:07 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2021-11-08 13:22:07 -0500 |
| commit | f9851f115b501add28b5b849821dd0525d82e960 (patch) | |
| tree | 224b1e722ebf093740bf28962e3fba6de5fb654d /python/types.py | |
| parent | a98466927f39c3a413583f0d4c99aca33a2bacb3 (diff) | |
add pep 484 and 561 compliance, fixes #2747
Diffstat (limited to 'python/types.py')
| -rw-r--r-- | python/types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/types.py b/python/types.py index e1c7474c..5eba9b8d 100644 --- a/python/types.py +++ b/python/types.py @@ -685,7 +685,7 @@ class TypeBuilder: return BoolWithConfidence(result.value, confidence = result.confidence) @const.setter - def const(self, value:BoolWithConfidenceType) -> None: # type: ignore We explicitly allow 'set' type to be different than 'get' type + def const(self, value:BoolWithConfidenceType) -> None: # type: ignore # We explicitly allow 'set' type to be different than 'get' type core.BNTypeBuilderSetConst(self._handle, BoolWithConfidence.get_core_struct(value)) @property @@ -695,7 +695,7 @@ class TypeBuilder: return BoolWithConfidence(result.value, confidence = result.confidence) @volatile.setter - def volatile(self, value:BoolWithConfidenceType) -> None: # type: ignore We explicitly allow 'set' type to be different than 'get' type + def volatile(self, value:BoolWithConfidenceType) -> None: # type: ignore # We explicitly allow 'set' type to be different than 'get' type core.BNTypeBuilderSetVolatile(self._handle, BoolWithConfidence.get_core_struct(value)) @property |
