hints: fix docstrings
This commit is contained in:
parent
9841b01d0d
commit
ec5387c674
@ -768,8 +768,7 @@ class HintManager(QObject):
|
|||||||
return self._context.hint_mode
|
return self._context.hint_mode
|
||||||
|
|
||||||
def _get_visible_hints(self):
|
def _get_visible_hints(self):
|
||||||
"""Get elements which are currently visible.
|
"""Get elements which are currently visible."""
|
||||||
"""
|
|
||||||
visible = {}
|
visible = {}
|
||||||
for string, elem in self._context.elems.items():
|
for string, elem in self._context.elems.items():
|
||||||
try:
|
try:
|
||||||
@ -784,8 +783,7 @@ class HintManager(QObject):
|
|||||||
return visible
|
return visible
|
||||||
|
|
||||||
def _handle_auto_follow(self, visible=None):
|
def _handle_auto_follow(self, visible=None):
|
||||||
"""Handle the auto-follow option.
|
"""Handle the auto-follow option."""
|
||||||
"""
|
|
||||||
if visible is None:
|
if visible is None:
|
||||||
visible = self._get_visible_hints()
|
visible = self._get_visible_hints()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user