STINNER Victor added the comment: > An optional sequence that lists the names of unnamed (anonymous) fields
Yes, it must be a sequence. > _anonymous_ = '_offset' This is a string, not a sequence. Just use _anonymous_ = ['_offset']. ---------- nosy: +haypo resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16566> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com