Skip to content

Commit 57db4f6

Browse files
committed
List dammit!
1 parent df578d1 commit 57db4f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/structural/mvc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def item_not_found(self, item_type: str, item_name: str) -> None:
7373

7474
class ConsoleView(View):
7575
"""The View is the presentation layer of the application."""
76-
def show_item_list(self, item_type: str, item_list: dict[Any, Any]) -> None:
76+
def show_item_list(self, item_type: str, item_list: list[Any]) -> None:
7777
print(item_type.upper() + " LIST:")
7878
for item in item_list:
7979
print(item)

0 commit comments

Comments
 (0)