From b86025b22720dce5787375c617de9d4c90a977ca Mon Sep 17 00:00:00 2001 From: Sean McCarthy Date: Thu, 15 Oct 2020 12:43:06 -0600 Subject: [PATCH 1/2] Update first-steps.md Made it clearer which we're talking about, parameter or argument. --- docs/tutorial/first-steps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/first-steps.md b/docs/tutorial/first-steps.md index bd69323a1..15da3551f 100644 --- a/docs/tutorial/first-steps.md +++ b/docs/tutorial/first-steps.md @@ -401,14 +401,14 @@ are called "Python function parameters" or "Python function arguments". It's quite technical... and somewhat pedantic. - One refers to the variable name in a function *declaration*. Like: + *Parameter* refers to the variable name in a function *declaration*. Like: ``` def bring_person(name: str, lastname: str = ""): pass ``` - The other refers to the value passed when *calling* a function. Like: + *Argument* refers to the value passed when *calling* a function. Like: ``` person = bring_person("Camila", lastname="GutiƩrrez") From 811e14d1e91a1560e651f0a2c28abd10e8a087d4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 17 Jul 2022 08:12:36 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20for?= =?UTF-8?q?mat=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/tutorial/first-steps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/first-steps.md b/docs/tutorial/first-steps.md index 80f0d9796..9ccccaabc 100644 --- a/docs/tutorial/first-steps.md +++ b/docs/tutorial/first-steps.md @@ -433,7 +433,7 @@ are called "Python function parameters" or "Python function arguments". It's quite technical... and somewhat pedantic. *Parameter* refers to the variable name in a function *declaration*. Like: - + ``` def bring_person(name: str, lastname: str = ""): pass