mirror of
https://github.com/ankitects/anki.git
synced 2025-12-12 22:36:55 -05: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,
|
card: Optional[Card] = None,
|
||||||
search: Optional[Tuple[Union[str, SearchTerm]]] = None,
|
search: Optional[Tuple[Union[str, SearchTerm]]] = None,
|
||||||
) -> 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)
|
QMainWindow.__init__(self, None, Qt.Window)
|
||||||
self.mw = mw
|
self.mw = mw
|
||||||
self.col = self.mw.col
|
self.col = self.mw.col
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue