From e579b005c03ace17005a7cc47c24ef4ab2c4f628 Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Fri, 21 Apr 2023 16:03:30 -0400 Subject: [PATCH] Note difference between tool.name and tool.get_name() --- paint.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/paint.py b/paint.py index 940e52a..6ecf5a2 100644 --- a/paint.py +++ b/paint.py @@ -250,7 +250,9 @@ class Tool(Enum): }[self] def get_name(self) -> str: - """Get the name of this tool.""" + """Get the localized name for this tool. + + Not to be confused with tool.name, which is an identifier.""" return { Tool.free_form_select: _("Free-Form Select"), Tool.select: _("Select"),