mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Add docstring to browser.__ini__
This commit is contained in:
parent
c3ae1a3049
commit
14775445df
1 changed files with 5 additions and 0 deletions
|
@ -450,6 +450,11 @@ class Browser(QMainWindow):
|
|||
card: Optional[Card] = None,
|
||||
search: Optional[Tuple[Union[str, SearchTerm]]] = None,
|
||||
) -> None:
|
||||
"""
|
||||
card : try to search for its note and select it
|
||||
search: set and perform search; caller must ensure validity
|
||||
"""
|
||||
|
||||
QMainWindow.__init__(self, None, Qt.Window)
|
||||
self.mw = mw
|
||||
self.col = self.mw.col
|
||||
|
|
Loading…
Reference in a new issue