mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
doc string update
This commit is contained in:
parent
6170b75fd4
commit
6d1c019aef
|
@ -166,9 +166,8 @@ class DeviceInfoCache:
|
||||||
device_info._cache_keys = (device_info.deviceIdentifier, device_info.address)
|
device_info._cache_keys = (device_info.deviceIdentifier, device_info.address)
|
||||||
|
|
||||||
def acquire(self, key):
|
def acquire(self, key):
|
||||||
"""Return the known information about the device. If the key is the
|
"""Return the known information about the device and mark the record
|
||||||
address of an unknown device, build a generic device information record
|
as being used by a segmenation state machine."""
|
||||||
add put it in the cache."""
|
|
||||||
if _debug: DeviceInfoCache._debug("acquire %r", key)
|
if _debug: DeviceInfoCache._debug("acquire %r", key)
|
||||||
|
|
||||||
if isinstance(key, int):
|
if isinstance(key, int):
|
||||||
|
|
|
@ -166,9 +166,8 @@ class DeviceInfoCache:
|
||||||
device_info._cache_keys = (device_info.deviceIdentifier, device_info.address)
|
device_info._cache_keys = (device_info.deviceIdentifier, device_info.address)
|
||||||
|
|
||||||
def acquire(self, key):
|
def acquire(self, key):
|
||||||
"""Return the known information about the device. If the key is the
|
"""Return the known information about the device and mark the record
|
||||||
address of an unknown device, build a generic device information record
|
as being used by a segmenation state machine."""
|
||||||
add put it in the cache."""
|
|
||||||
if _debug: DeviceInfoCache._debug("acquire %r", key)
|
if _debug: DeviceInfoCache._debug("acquire %r", key)
|
||||||
|
|
||||||
if isinstance(key, int):
|
if isinstance(key, int):
|
||||||
|
|
|
@ -166,9 +166,8 @@ class DeviceInfoCache:
|
||||||
device_info._cache_keys = (device_info.deviceIdentifier, device_info.address)
|
device_info._cache_keys = (device_info.deviceIdentifier, device_info.address)
|
||||||
|
|
||||||
def acquire(self, key):
|
def acquire(self, key):
|
||||||
"""Return the known information about the device. If the key is the
|
"""Return the known information about the device and mark the record
|
||||||
address of an unknown device, build a generic device information record
|
as being used by a segmenation state machine."""
|
||||||
add put it in the cache."""
|
|
||||||
if _debug: DeviceInfoCache._debug("acquire %r", key)
|
if _debug: DeviceInfoCache._debug("acquire %r", key)
|
||||||
|
|
||||||
if isinstance(key, int):
|
if isinstance(key, int):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user