Skip to content

Commit

Permalink
remove deprecated method read_into
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmcwethy authored and tannewt committed Nov 15, 2017
1 parent 8a662c5 commit be325b9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions adafruit_bus_device/i2c_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be325b9

Please sign in to comment.