Skip to content

Commit fb5aa30

Browse files
committed
added double backticks to doc string
1 parent c74a35b commit fb5aa30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_bme280.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ def humidity(self):
178178

179179
@property
180180
def altitude(self):
181-
"""The altitude based on current `pressure` versus the sea level pressure
182-
(`sea_level_pressure`) - which you must enter ahead of time)"""
181+
"""The altitude based on current ``pressure`` versus the sea level pressure
182+
(``sea_level_pressure``) - which you must enter ahead of time)"""
183183
pressure = self.pressure # in Si units for hPascal
184184
return 44330 * (1.0 - math.pow(pressure / self.sea_level_pressure, 0.1903))
185185

0 commit comments

Comments
 (0)