Minor typo here.  Should read "# Ensure that 'read_only_fields' is an iterable".
Note the missing space after '#' and the missing closing quote.