Fix return type
This commit is contained in:
parent
16b2b375a5
commit
f1a97218a8
|
|
@ -63,7 +63,7 @@ class WindowAccessHistory():
|
|||
except ValueError:
|
||||
pass
|
||||
|
||||
def last(self) -> 'mainwindow.MainWindow':
|
||||
def last(self) -> Optional['mainwindow.MainWindow']:
|
||||
"""Return the last window from the access history.
|
||||
|
||||
Prune any None values and windows that are shutting down and
|
||||
|
|
|
|||
Loading…
Reference in New Issue