@@ -168,14 +168,16 @@ def get_irq(self, target):
168168
169169
170170def supports_framelock (self , target ):
171- """returns whether the underlying GPU supports Frame Lock. All of the
172- other frame lock attributes are only applicable if this returns True."""
171+ """returns whether the underlying GPU supports Frame Lock.
172+
173+ All of the other frame lock attributes are only applicable if this returns True."""
173174 return query_int_attribute (self , target , 0 , NV_CTRL_FRAMELOCK ) == 1
174175
175176
176177def gvo_supported (self , screen ):
177- """returns whether this X screen supports GVO; if this screen does not
178- support GVO output, then all other GVO attributes are unavailable."""
178+ """returns whether this X screen supports GVO
179+
180+ If this screen does not support GVO output, then all other GVO attributes are unavailable."""
179181 return query_int_attribute (self , screen , [], NV_CTRL_GVO_SUPPORTED )
180182
181183
@@ -185,9 +187,9 @@ def get_core_temp(self, target):
185187
186188
187189def get_core_threshold (self , target ):
188- """return the current GPU core slowdown threshold temperature. It
189- reflects the temperature at which the GPU is throttled to prevent
190- overheating."""
190+ """return the current GPU core slowdown threshold temperature.
191+
192+ Itreflects the temperature at which the GPU is throttled to prevent overheating."""
191193 return query_int_attribute (self , target , 0 , NV_CTRL_GPU_CORE_THRESHOLD )
192194
193195
@@ -202,8 +204,7 @@ def get_max_core_threshold(self, target):
202204
203205
204206def get_ambient_temp (self , target ):
205- """return the current temperature in the immediate neighbourhood of
206- the GPU driving the X screen."""
207+ """return the current temperature in the immediate neighbourhood of the GPU driving the X screen."""
207208 return query_int_attribute (self , target , 0 , NV_CTRL_AMBIENT_TEMPERATURE )
208209
209210
0 commit comments