Skip to content

Commit be325b9

Browse files
mrmcwethytannewt
authored andcommitted
remove deprecated method read_into
1 parent 8a662c5 commit be325b9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Diff for: adafruit_bus_device/i2c_device.py

-8
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,6 @@ def readinto(self, buf, **kwargs):
7777
"""
7878
self.i2c.readfrom_into(self.device_address, buf, **kwargs)
7979

80-
def read_into(self, buf, **kwargs):
81-
"""
82-
.. warning:: This method will be deprecated at some time in the future.
83-
Please use `readinto`() instead. `readinto`() is functionally
84-
equivalent to read_into(), same parameters and same actions.
85-
"""
86-
self.i2c.readfrom_into(self.device_address, buf, **kwargs)
87-
8880
def write(self, buf, **kwargs):
8981
"""
9082
Write the bytes from ``buffer`` to the device. Transmits a stop bit if

0 commit comments

Comments
 (0)