Skip to content

Commit 191e56e

Browse files
cleanup missing character (nnja#5)
added an 'f' to the miss-typed word 'unction'
1 parent a89ea28 commit 191e56e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

website/content/02-introduction-to-python/060-functions/30-function-arguments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Why? Because it won't work like you'd expect it to.
164164

165165
If you need to use a mutable type, like a `list` as a default, use a *marker* instead. We'll cover this technique when we talk about `list`s in the next chapter.
166166

167-
In Python, default arguments are evaluated only once -- when the unction is defined. Not each time the function is called. That means if you use a value that can be changed, it won't behave like you'd expect it to.
167+
In Python, default arguments are evaluated only once -- when the function is defined. Not each time the function is called. That means if you use a value that can be changed, it won't behave like you'd expect it to.
168168

169169
### Naming Functions and Arguments
170170

@@ -189,4 +189,4 @@ For example, I'd expect a variable called `name` to be a single string, and a va
189189

190190
{{% notice tip %}}
191191
A great resource to help you figure out the best naming conventions to use in your production Python code is a talk by Brandon Rhodes, called ["The Naming of Ducks: Where Dynamic Types Meet Smart Conventions"](https://www.youtube.com/watch?v=YklKUuDpX5c).
192-
{{% /notice %}}
192+
{{% /notice %}}

0 commit comments

Comments
 (0)