Skip to content

Commit ff79ea0

Browse files
committed
updated docstrings; removed 'returns'
1 parent 2bf5188 commit ff79ea0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_vcnl4010.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def frequency(self, val):
184184
# pylint: disable=inconsistent-return-statements
185185
@property
186186
def proximity(self):
187-
"""Returns the detected proximity of an object in front of the sensor. This
187+
"""The detected proximity of an object in front of the sensor. This
188188
is a unit-less unsigned 16-bit value (0-65535) INVERSELY proportional
189189
to the distance of an object in front of the sensor (up to a max of
190190
~200mm). For example a value of 10 is an object farther away than a
@@ -205,7 +205,7 @@ def proximity(self):
205205

206206
@property
207207
def ambient(self):
208-
"""Returns the detected ambient light in front of the sensor. This is
208+
"""The detected ambient light in front of the sensor. This is
209209
a unit-less unsigned 16-bit value (0-65535) with higher values for
210210
more detected light. See the ambient_lux property for a value in lux.
211211
"""
@@ -224,7 +224,7 @@ def ambient(self):
224224

225225
@property
226226
def ambient_lux(self):
227-
"""Returns the detected ambient light in front of the sensor as a value in
227+
"""The detected ambient light in front of the sensor as a value in
228228
lux.
229229
"""
230230
return self.ambient * _VCNL4010_AMBIENT_LUX_SCALE

0 commit comments

Comments
 (0)