bslatkin / effectivepython

Effective Python: Second Edition — Source Code and Errata for the Book
https://effectivepython.com
2.24k stars 718 forks source link

Item 24: Missing words in first sentence of item #82

Open bslatkin opened 4 years ago

bslatkin commented 4 years ago

From Nicholas via email:

  1. On page 94, you say "Sometimes you need to use a non-static type as a keyword argument's default value." This doesn't match the terminology I'm used to -- you don't typically pass a type as a value, static or non. Is this a typo and intended to be something else, like "non-static variable" or "non-static value"?
bslatkin commented 4 years ago

I think that the missing word here is probably "instance". I should update this to (additions in bold):

"Sometimes you need to use an instance of a non-static type as a keyword argument’s default value."