From be325b94a3254cc1dc8deccfcab8942b3d915774 Mon Sep 17 00:00:00 2001 From: mrmcwethy Date: Wed, 15 Nov 2017 15:59:43 -0700 Subject: [PATCH] remove deprecated method read_into --- adafruit_bus_device/i2c_device.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/adafruit_bus_device/i2c_device.py b/adafruit_bus_device/i2c_device.py index 50ee065..7c461b1 100644 --- a/adafruit_bus_device/i2c_device.py +++ b/adafruit_bus_device/i2c_device.py @@ -77,14 +77,6 @@ def readinto(self, buf, **kwargs): """ self.i2c.readfrom_into(self.device_address, buf, **kwargs) - def read_into(self, buf, **kwargs): - """ - .. warning:: This method will be deprecated at some time in the future. - Please use `readinto`() instead. `readinto`() is functionally - equivalent to read_into(), same parameters and same actions. - """ - self.i2c.readfrom_into(self.device_address, buf, **kwargs) - def write(self, buf, **kwargs): """ Write the bytes from ``buffer`` to the device. Transmits a stop bit if