How to designate unreachable python code,raise ValueError('invalid gender %r' % gender)