Merge pull request #4352 from user202729/fix-docstring-1

Fix docstring for HintManager.filter_hints
This commit is contained in:
Jay Kamat 2018-10-17 12:15:14 -07:00 committed by GitHub
commit fa5093e53e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -833,9 +833,10 @@ class HintManager(QObject):
Args:
filterstr: The string to filter with, or None to use the filter
from previous call (saved in `self._filterstr`). If
`filterstr` is an empty string or if both `filterstr`
and `self._filterstr` are None, all hints are shown.
from previous call (saved in `self._context.filterstr`).
If `filterstr` is an empty string or if both `filterstr`
and `self._context.filterstr` are None, all hints are
shown.
"""
if filterstr is None:
filterstr = self._context.filterstr