From 84ab2b0362cb9a637a28cc2cd78e25c68caa062f Mon Sep 17 00:00:00 2001 From: surister Date: Tue, 22 Oct 2019 13:29:48 +0200 Subject: [PATCH] Fix typo --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c4df85d..ce4396e 100644 --- a/README.md +++ b/README.md @@ -1768,7 +1768,7 @@ There is a more advanced python feature called MetaClasses that aid the programm # Note that you generally don't need to know the compiling process but knowing where everything comes from # and giving complete answers shows that you truly know what you are talking about. -Generally, every compiling process have a two stops. +Generally, every compiling process have a two steps. - Analysis - Code Generation. @@ -1912,6 +1912,7 @@ def get_food(brothers_menu) -> set: return set(temp) +# One liner way (Using list comprehension) set([food for bro in x for food in bro['food']]) ```