summaryrefslogtreecommitdiff
path: root/doc/data/messages/c/comparison-with-callable/good.py
diff options
context:
space:
mode:
Diffstat (limited to 'doc/data/messages/c/comparison-with-callable/good.py')
-rw-r--r--doc/data/messages/c/comparison-with-callable/good.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/data/messages/c/comparison-with-callable/good.py b/doc/data/messages/c/comparison-with-callable/good.py
index 587cf1b98..a49007128 100644
--- a/doc/data/messages/c/comparison-with-callable/good.py
+++ b/doc/data/messages/c/comparison-with-callable/good.py
@@ -1,6 +1,7 @@
def function_returning_a_fruit() -> str:
return "orange"
+
def is_an_orange(fruit: str = "apple"):
# apple == orange
return fruit == function_returning_a_fruit()