From 64ef1b6d700b4da12bc75999ded723ba39bd4393 Mon Sep 17 00:00:00 2001 From: Shahrokh Bahtooei <42028078+ShahrokhBahtooei@users.noreply.github.com> Date: Fri, 30 Oct 2020 15:12:04 +0330 Subject: [PATCH] Correct the instance initialization for MenuConfig The instance of the class MenuConfig is not initialized properly; the parentheses are missed. --- docs/functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/functions.md b/docs/functions.md index f489c61..9b9a106 100644 --- a/docs/functions.md +++ b/docs/functions.md @@ -346,7 +346,7 @@ def create_menu(config: MenuConfig): # ... -config = MenuConfig +config = MenuConfig() config.title = "My delicious menu" config.body = "A description of the various items on the menu" config.button_text = "Order now!"