effectivepython
effectivepython copied to clipboard
Item 24: Missing words in first sentence of item
From Nicholas via email:
- 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"?
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."