Version number for deprecation

This commit is contained in:
Ange Albertini
2026-06-02 09:26:13 +02:00
committed by GitHub
parent cfff133ae0
commit 09f5bd5a5c
+1 -1
View File
@@ -133,7 +133,7 @@ class RelativeVirtualAddress(int, Address):
"""a memory address relative to a base address""" """a memory address relative to a base address"""
def __new__(cls, *args, **kwargs): def __new__(cls, *args, **kwargs):
# TODO(corkamig): Removal for v3.5.0 # TODO(corkamig): Removal for v10
# https://github.com/mandiant/capa/issues/3072 # https://github.com/mandiant/capa/issues/3072
warnings.warn("RelativeVirtualAddress is deprecated - cf issue #3072", DeprecationWarning, stacklevel=2) warnings.warn("RelativeVirtualAddress is deprecated - cf issue #3072", DeprecationWarning, stacklevel=2)
return super().__new__(cls, *args, **kwargs) return super().__new__(cls, *args, **kwargs)