Skip to content

Commit e8f2313

Browse files
committed
Add some type hints
1 parent 85157ae commit e8f2313

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

gramps/gui/selectors/selectperson.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2121
#
2222

23+
# -------------------------------------------------------------------------
24+
#
25+
# Standard python modules
26+
#
27+
# -------------------------------------------------------------------------
28+
from __future__ import annotations
29+
2330
# -------------------------------------------------------------------------
2431
#
2532
# internationalization
@@ -101,7 +108,7 @@ def _local_init(self):
101108
self.setup_configs("interface.person-sel", 600, 450)
102109
self.tree.connect("key-press-event", self._key_press)
103110

104-
def get_window_title(self):
111+
def get_window_title(self) -> str:
105112
return _("Select Person")
106113

107114
def get_model_class(self):

0 commit comments

Comments
 (0)