Skip to content

Commit

Permalink
Drop deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
patacca committed Aug 25, 2023
1 parent 4e831cf commit 051d29d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bindings/python/quokka/executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import pathlib
import struct
import warnings

from quokka.types import DataType, Endianness, Literal, Optional, Union

Expand Down Expand Up @@ -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)

0 comments on commit 051d29d

Please sign in to comment.