fix documentation of 'attr'