fields needs to be imported in examples (#921)

neither attrs as a whole nor field is imported from attrs. Therefore the example using field does not work if one goes through the examples step by step. either import fields from the beginning (as suggested) or in the example using fields.

Co-authored-by: Hynek Schlawack <hs@ox.cx>
1 file changed