From 051d29d57cb5e501ff74f842e3460b9c73c731d8 Mon Sep 17 00:00:00 2001 From: Riccardo Mori Date: Fri, 25 Aug 2023 18:11:59 +0200 Subject: [PATCH] Drop deprecated function --- bindings/python/quokka/executable.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bindings/python/quokka/executable.py b/bindings/python/quokka/executable.py index a3cb197..02bd359 100644 --- a/bindings/python/quokka/executable.py +++ b/bindings/python/quokka/executable.py @@ -16,7 +16,6 @@ import pathlib import struct -import warnings from quokka.types import DataType, Endianness, Literal, Optional, Union @@ -184,10 +183,3 @@ def read_bytes(self, offset: int, size: int) -> bytes: The bytes values """ return self.read(offset, size) - - def read_byte(self, offset: int, size: int) -> bytes: - """Deprecated. Use read_bytes""" - warnings.warn( - "read_byte has been deprecated. Please use read_bytes", DeprecationWarning - ) - return self.read_bytes(offset, size)