effectivepython icon indicating copy to clipboard operation
effectivepython copied to clipboard

Item 24: Missing words in first sentence of item

Open bslatkin opened this issue 4 years ago • 1 comments

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 avatar May 31 '20 21:05 bslatkin

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."

bslatkin avatar May 31 '20 21:05 bslatkin